Raanan Weber 5 年之前
父节点
当前提交
dc2e483a91
共有 1 个文件被更改,包括 6 次插入0 次删除
  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;
 
     /**