Forum Discussion
mmchickenshack
6 years agoProtege
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
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
- mmchickenshackProtegeOK so there seems to be a bug in in the
OVRGrabberwhere the angularVelocity isn't set correctly onGrabEnd().
The fix is to invert the angularVelocity. SoGrabbableRelease(linearVelocity, angularVelocity);
becomesGrabbableRelease(linearVelocity, -angularVelocity); - mmchickenshackProtegeBug reported: https://developer.oculus.com/bugs/bug/1781303415399021/
- The-BossHonored GuestHad same problem... that - worked perfectly... Thank you!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 years ago
- 4 years agoAnonymous