Skip to content
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

Don't use the cursor component if you need to render the controllers yourself #5074

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AdaRoseCannon
Copy link
Contributor

This is a small addition to the cursor component that I was thinking about but was a bit slow adding it to the last PR. I still need to test to make sure it behaves as expected in headsets.

Description:

This disables the cursor component when controllers need to be rendered by the user (tracked controllers on opaque displays) because in these situations the user is probably using one of AFrame's controller inputs to render a controller and should put an additional cursor directly on those inputs.

Changes proposed:

  • Early return for xr select events for tracked controllers on opaque displays

@dmarcos
Copy link
Member

dmarcos commented Aug 18, 2022

This needs rebase.

@AdaRoseCannon
Copy link
Contributor Author

rebased

@AdaRoseCannon
Copy link
Contributor Author

AdaRoseCannon commented Aug 18, 2022

This is related as well #5076
Nevermind I need to look further into this, as was brought up in the related issue to that PR

@AdaRoseCannon
Copy link
Contributor Author

This issue is okay to be merged I think but I will close 5076 for now.

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.

None yet

2 participants