Explorar o código

prevent collision with mouse pointer id

Raanan Weber %!s(int64=5) %!d(string=hai) anos
pai
achega
bb1a9ac959
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]) {