Forum Discussion

SubstrateZero's avatar
SubstrateZero
Honored Guest
5 months ago

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!

1 Reply

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions