Browse Source

prevent collision with mouse pointer id

Raanan Weber 5 năm trước cách đây
mục cha
commit
bb1a9ac959
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/XR/features/WebXRControllerPointerSelection.ts

+ 1 - 1
src/XR/features/WebXRControllerPointerSelection.ts

@@ -78,7 +78,7 @@ export interface IWebXRControllerPointerSelectionOptions {
  * A module that will enable pointer selection for motion controllers of XR Input Sources
  */
 export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
-    private static _idCounter = 0;
+    private static _idCounter = 200;
 
     private _attachController = (xrController: WebXRInputSource) => {
         if (this._controllers[xrController.uniqueId]) {