Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kingarrilla's avatar
kingarrilla
Explorer
7 years ago

SOLVED: Getting the head transform matrix in Unity

TL:DR - the Solution was to use the CenterEyeAnchor


I want to know how to get the position of the head (or the HMD), its rotation, etc

The OVRPlayerController returns a static 2.3, 1.0, 0.0 - what does that represent, I can't work it out from any values on the inspector

The OVRCameriRig returns 0, 0, 0 - no matter where it is

I'm debugging these values in logcat from the Quest

How can I get a position and rotation of the head?