Skip to main content
Up and Coming
August 10, 2019

Throw Angular Velocity in Wrong Direction

In unity using the AvatarGrab example, I've noticed that when throwing things with a spin to it, the rotation will be in the wrong direction as soon as the grabbed item is let go. This happens with my own projects using the OVRGrabber/DistanceGrabbers and also in the Demo scenes.
Has anyone else noticed this? Any input on how to solve this? Has a bug been reported? I couldn't find anything.
Here's the behavior, very noticeable at 0:16:
https://www.youtube.com/watch?v=Upqvy-5egIo

3 replies

Up and Coming
August 10, 2019
OK so there seems to be a bug in in the OVRGrabber where the angularVelocity isn't set correctly on GrabEnd().
The fix is to invert the angularVelocity. So
GrabbableRelease(linearVelocity, angularVelocity);

becomes

GrabbableRelease(linearVelocity, -angularVelocity);
Up and Coming
August 10, 2019
New Participant
May 23, 2020
Had same problem... that - worked perfectly... Thank you!