Skip to content

Conversation

@felixtrz
Copy link
Contributor

Issue:
WebXRController only calculates the targetRay data when controllers are active, however in oculus browser, targetRaySpace is also populated when hands are active, and this piece of data can be useful when using hands to point and select or interact with elements in VR.

This change addresses this issue by calculating the targetRay data regardless of whether hands or controllers are active input methods.

@mrdoob mrdoob added this to the r127 milestone Mar 1, 2021
@mrdoob mrdoob merged commit 80f3437 into mrdoob:dev Mar 1, 2021
@mrdoob mrdoob changed the title Making targetRay data available under hands mode WebXRController: Make targetRay available in hands mode Mar 1, 2021
@mrdoob
Copy link
Owner

mrdoob commented Mar 1, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants