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

Child Collider of Hand Entity Triggering all Colliders #5437

Closed
ehammons11 opened this issue Jan 25, 2024 · 2 comments
Closed

Child Collider of Hand Entity Triggering all Colliders #5437

ehammons11 opened this issue Jan 25, 2024 · 2 comments

Comments

@ehammons11
Copy link
Contributor

Description:
In this example a child entity with a collider is attached to a hand-tracking-controls entity on the left hand. When the left hand is moved out of the view of the head set, where the hand can no longer be rendered, every other collider in the scene gets triggered. In this case we see the right hand collider and the box in front of the camera get triggered.

@mrxz
Copy link
Contributor

mrxz commented Jan 25, 2024

Did a bit of debugging and the issue isn't so much when the hand stops rendering, but when there is no joint pose information for a given hand. The underlying hand-tracking-controls component doesn't check for this when updating the wrist object(s), resulting in invalid values that throw off the collider logic.

I've created a quick PR that addresses the issue: #5438

@dmarcos
Copy link
Member

dmarcos commented Jan 25, 2024

Fixed by #5438. Thanks for reporting and fixing

@dmarcos dmarcos closed this as completed Jan 25, 2024
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

No branches or pull requests

3 participants