Browse Source

prevent collision with mouse pointer id

Raanan Weber 5 years ago
parent
commit
bb1a9ac959
1 changed files with 1 additions and 1 deletions
  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]) {