-
Notifications
You must be signed in to change notification settings - Fork 71
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
Raycast-intersection grab doesn't rotate object #164
Comments
This is my most needed feature. I want to rotate objects from distance. |
I have created a monkeypatch for this. However, since it's in the context of my work I can't simply share it. I'm looking into open sourcing more of my work, so I'll get back to this when I've handled the involved bureaucracy. Ping me if I haven't given a response by December 1st. I know that's very late for you two, but perhaps not for people looking for this in the future. |
Hey @auriiolym any chance you would be willing to share this code snippet? Looking to integrate rotation into my Aframe / Superhands projects |
@ianpetrarca if you use physics, you get the rotation-at-a-distance for free. For a solution without physics, somwhere I have a version of grabbable that does all the matrix math to simulate reparenting for 6DOF grab - I'll try to find it for you |
Thanks @wmurphyrd . I implemented the physics rotation as you described above. Still interested in a non-physics, more optimized grab. If you still have that alternative "grabbable" component, I'd love to see it. Thanks for all your hard work. You have been killing it and a incredible resource for years in the WebXR Space. |
When grabbing an object with the raycaster the object only moves positionally. It would be nice if there was an option to update its rotation also, based on the raycaster's direction.
The text was updated successfully, but these errors were encountered: