Forum Discussion
kingarrilla
7 years agoExplorer
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?
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?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago