Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
smitdylan's avatar
smitdylan
Member
2 years ago
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

 

  • 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
  • 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

    • BeerMaker's avatar
      BeerMaker
      Honored 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.

      • mcgeezax4's avatar
        mcgeezax4
        Protege

        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.