cancel
Showing results for 
Search instead for 
Did you mean: 

Custom events for when an object is grabbed

ReadyPlayerBlue
Honored Guest

Looking to recreate climbing. previously used xr interaction toolkit by unity and now would like to switch to handtracking with oculus toolkit. I have had a hard time understanding the grabbable script. I would like to track the velocity of the hand once it has grabbed an object but i do not know how to access this. also is there a reason why the objects fall without accounting for throw velocity once they are released. 

3 REPLIES 3

Fabularis
Protege

Hello, have you find a solution? Thank you

Just in case someone stumbles on this old question via Google, a solution for how to get grab events is described in this thread.

lindy98
Explorer

I'm searching for a solution to "tracking the velocity of the hand once it has grabbed an object" as well, as I'm trying to implement some form of pseudohaptics. I might experiment with the RANSACVelocityCalculator that's used for throwing with the grab events solution in the thread provided by Fahruz. As for the objects falling when they are released, perhaps there's a rigidbody with gravity enabled on them?