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

RayGrab cannot ungrab if element changes size/shape while it was grabbed #307

Open
svnhub opened this issue Mar 19, 2024 · 0 comments
Open

Comments

@svnhub
Copy link

svnhub commented Mar 19, 2024

If, for any reason, the ray from RayGrab no longer hits the grabbed object when the trigger is released the onSelectEnd (or onUnsqueeze) event from the object will never fire (since it wasn't hit).

A suggestion could be to move the code that unsets the grabbing controller outside by hooking via useXREvent("onselectend") rather than inline on the object.

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

1 participant