Skip to main content
New Participant
May 2, 2024
Solved

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

 

This topic has been closed for replies.
smitdylanAnswer
New Participant
May 2, 2024

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

smitdylanAuthorAnswer
New Participant
May 2, 2024

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

New Participant
February 4, 2025

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.

Participant
February 6, 2025

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.