10-30-2014 09:34 AM
10-30-2014 12:36 PM
Quaternion hmdOrientation = new Quaternion();
Vector3 hmdPos = new Vector3 ();
OVRDevice.GetCameraPositionOrientation (ref hmdPos, ref hmdOrientation, 0);
10-31-2014 10:49 AM
10-31-2014 12:46 PM
OVRPose hmdPose = OVRManager.display.GetHeadPose();
Quaternion hmdOrientation = hmdPose.orientation;
Vector3 hmdPos = hmdPose.position;
11-01-2014 10:23 AM
11-08-2017 08:43 PM
11-08-2017 11:06 PM
11-09-2017 07:06 PM
12-27-2018 01:54 PM
// Doesn't look like this will work for Oculus Go ... :/
Vector3 PlayerHeadPos = Vector3.zero;
OVRNodeStateProperties.GetNodeStatePropertyVector3( UnityEngine.XR.XRNode.Head,
NodeStatePropertyType.Position,
OVRPlugin.Node.Head,
OVRPlugin.Step.Render,
out PlayerHeadPos );
// Edit: jkafkaris's suggestion worked for me