01-02-2024 12:05 AM - edited 01-02-2024 12:27 AM
I need to access the orientation of the hand for certain actions in my VR app. I've tried multiple ways to get the orientation of the hand in Meta SDK v60:
1. Directly referencing the hand prefab's transform
2. Using OVRInput.GetLocalControllerRotation(OVRInput.Controller.RHand)
3. Using OVRPlugin.GetNodePose(OVRPlugin.Node.HandRight, stepType).ToOVRPose().orientation
I've also tried doing the same with Oculus Touch controllers
But all of them give weird outputs : https://youtu.be/SqjeR3aICbI
(Here the wrist rotation goes from -160 to -30 and then goes back down to -90 as i rotate my wrist)
I tried the same thing with Unity's XR hands and it gives the outputs as expected : https://youtu.be/xzbYAmLz0s0
(Here the wrist rotation goes from -170 to +60 as i rotate my wrist)