cancel
Showing results for 
Search instead for 
Did you mean: 

How to throw with hand tracking

smitdylan
Member

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

smitdylan_0-1714649461081.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

smitdylan
Member

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

View solution in original post

3 REPLIES 3

smitdylan
Member

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

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.

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.