12-16-2014 02:55 PM
12-16-2014 02:57 PM
01-15-2015 05:44 AM
01-15-2015 06:55 AM
01-15-2015 07:42 AM
01-15-2015 08:13 AM
01-16-2015 05:52 PM
"DanSchmitt" wrote:The OVRPlayerController script contained code that would rotate the player with the view if the HmdRotatesY value is true.
Edit: But then the player walks not into the direction where he looks according to head tracking...
Quaternion ort = (HmdRotatesY) ? CameraController.centerEyeAnchor.rotation : transform.rotation;
Vector3 ortEuler = ort.eulerAngles;
ortEuler.z = ortEuler.x = 0f;
ort = Quaternion.Euler(ortEuler);
04-13-2017 01:36 PM