Forum Discussion
smitdylan
2 years agoMember
How to throw with hand tracking
I want to throw objects in MR with hand tracking, but am unable to do so. I use the building blocks to add everything into place, but when I release an object it simply drops straight down.
I already checked if all the components from the guide (https://developer.oculus.com/documentation/unity/unity-isdk-throw-object/) are in place, and this should be set up.
Any tips are appreciated
Fixed by adding the physics grabbable to hand tracking interactable and removing the spatial anchor component.
The team should make sure the physics grabbable is linked with the building blocks!! This is not the case default with the cube
3 Replies
Replies have been turned off for this discussion
- smitdylanMember
Fixed by adding the physics grabbable to hand tracking interactable and removing the spatial anchor component.
The team should make sure the physics grabbable is linked with the building blocks!! This is not the case default with the cube
- BeerMakerHonored Guest
so now (Feb 2025) it says that the Physics Grabbable is Obsolete or deprecated. So what am I supposed to use now. I'm ok with my adding my own projectile motion to the object, but I was hoping to get the angular and linear velocity of the object while its grabbed.
Are you still using Physics Grabbable smitdylan or something else?Do people mix the Occulus interactable library with the Unity XR interactors sdk and grabbable which has multiple modes like kinematic for manipulating/throwing obstacles featured in this video but warned about here.
- mcgeezax4Protege
The guide OP linked says it is deprecated because all grabable objects are throwable by default. Just replace the PhysicsGrabbable with Grabbable and it should work.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 6 months ago
- 2 years ago