How to get the Absolute Head position relative to the Camera
I am trying to do a visualisation of the players head position relative the real world location of the camera.
In the previous SDK there was a method for getting it but it has been removed and I can't find an equivalent.
So far I've been looking here:
Ovr.TrackingState state = OVRManager.capiHmd.GetTrackingState(0);
state.HeadPose.ThePose.Position.x.ToString("F2") + ", " + state.HeadPose.ThePose.Position.y.ToString("F2") + ", " + state.HeadPose.ThePose.Position.z.ToString("F2");
But that gives me the relative position of the last 'centred' location.
In the previous SDK there was a method for getting it but it has been removed and I can't find an equivalent.
So far I've been looking here:
Ovr.TrackingState state = OVRManager.capiHmd.GetTrackingState(0);
state.HeadPose.ThePose.Position.x.ToString("F2") + ", " + state.HeadPose.ThePose.Position.y.ToString("F2") + ", " + state.HeadPose.ThePose.Position.z.ToString("F2");
But that gives me the relative position of the last 'centred' location.
