Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Viconthebeach's avatar
2 years ago

Grabbed objects and gravity failure

I'm experiencing issue when releasing a grabbed object with a rigidbody responding to gravity.
A quick grab and release will work as expected, but the longer your hold the object in your hand, the higher is the object's falling velocity when your release it.

I'm gonna try to bypass the issue by disabling gravity when the object is grabbed, hope it will work but I wanted you to know about that. 

2 Replies

Replies have been turned off for this discussion
  • Yes, the trick works and is easy to apply: Add the rigidbody's object as listener in the Select/Unselect events from the Pointable Unity Event Wrapper (in editor), and set the gravity bool to true or false.

    • im2ofd2's avatar
      im2ofd2
      Honored Guest

      The Exact Solution i was looking for 😆