- Home /
Disable headset totation
I have a tracking device and an Oculus, and I would like to get only the rotation from the headset and put it inside my tracking device, and finally set the rotation from my tracking device to the camera. My problem is whatever I do, the rotation from the headset is always applied to my Camera. How could I prevent the oculus to set its rotation ?
The headset I use is an Occulus, so I installed the package for Unity, and the only possibility is to disable the "Positional Tracking".
I have tried to cancel the movement with:
transform.localRotation = Quaternion.Inverse(UnityEngine.VR.InputTracking.GetLocalRotation(UnityEngine.VR.VRNode.Head));
But the movement is a bit laggy, is there another way to disable the tracking ?
Thanks
Comment