Improving Throw Smoothing in Meta Interaction SDK with Grabbable
Hi everyone,
I’m working on a VR project in Unity using the Meta Interaction SDK and have a ball that players can grab and throw. Currently, I’m using the Grabbable and Distance Grab Interactable scripts. The problem is that throws can feel inconsistent: if the player releases the trigger a little late, the ball sometimes flies backward instead of forward.
I know the XR Interaction Toolkit has a built-in “Throw Smoothing” feature that averages the last few frames of motion to calculate a smoother throw.
My questions are:
- Does the Meta Grabbable have a similar throw smoothing built-in?
- If not, what’s the best way to implement throw smoothing in this setup? Should I track the last few frames of the hand’s velocity manually and override the rigidbody’s velocity on release?
-Also, is there a way to adjust the trigger release threshold so that the ball is released slightly earlier to improve throwing accuracy?
Any advice, examples, or best practices would be greatly appreciated!