-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebXRManager: Fix input sources being sent to wrong controllers (touch AR) #23188
Conversation
Might be superseded by but I still have to verify. |
Let us know when you do 🙏 |
Finally got hold of another Hololens 2, here's some findings:
Also noticed that, tangentially related, is still open; the problem still exists (no way to set raycast / visibility layers on child objects since there's no callback when the controller/hands model is actually spawned). Problematic on both Quest and Hololens. |
3414e13
to
3d6001c
Compare
Opened one of the regression issues as |
|
remove inputSourcesMap and instead use controllerInputSources array fix linting errors
3d6001c
to
52381ce
Compare
58113d8
to
b6b2588
Compare
Thanks! |
…h AR) (mrdoob#23188) * fix controller input sources: stable controller index remove inputSourcesMap and instead use controllerInputSources array fix linting errors * apply review changes
…h AR) (mrdoob#23188) * fix controller input sources: stable controller index remove inputSourcesMap and instead use controllerInputSources array fix linting errors * apply review changes
Related issue: #23187
Description
Adds array of input sources to keep track of controllers being still/currently used on inputSourcesChanged event.
This prevents mixup/re-ordering of touches in AR.
This contribution is funded by 🌵 needle.