How can I find the rotation of the head in Google Cardboard Unity3D?
问题 Hey guys how do I find the rotation of the phone with Google Cardboard SDK in Unity3D, like the way the persons head is facing? I need to find if it is facing more towards the east, the west, or the north. Do I find the rotation of the head, or the parent Main camera? 回答1: The Cardboard class contains a property called HeadRotation which is a Quaternion. Quaternion crtRot = youCardboardController.HeadRotation; To use its rotation like you'd in Unity with directional vectors you may simply