- Home /
How do I get the Oculus Rift's headset's position and rotation?
I'm looking for the functions to get the position and rotation data of the rift headset itself in Unity.
I have the Oculus integration SDK installed and want to avoid using any pre-fabs.
Comment
Answer by Batzuga · Jan 28, 2020 at 02:12 AM
I think you can atleast get the raw position and rotation data like this.
OVRPose tracker = OVRManager.tracker.GetPose();
Vector3 pos = tracker.position;
Quaternion rot = tracker.orientation;
Your answer
Follow this Question
Related Questions
how to make Oculus Touch door opening 0 Answers
mouse cursor not visible on VR 1 Answer
GearVR rotation stutter InputTracking.GetNodeStates 1 Answer
ADB not recognizing Oculus GO 3 Answers
Why can't I use the latest version of Unity for Oculus VR? 0 Answers