Raanan Weber 5 years ago
parent
commit
dc2e483a91
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/Cameras/XR/webXRControllerTeleportation.ts

+ 6 - 0
src/Cameras/XR/webXRControllerTeleportation.ts

@@ -18,6 +18,12 @@ export class WebXRControllerTeleportation {
     private _tmpRay = new Ray(new Vector3(), new Vector3());
     private _tmpVector = new Vector3();
 
+    /**
+     * when set to true (default) teleportation will wait for thumbstick changes.
+     * When set to false teleportation will be disabled.
+     * 
+     * If set to false while teleporting results can be unexpected.
+     */
     public enabled: boolean = true;
 
     /**