Forum Discussion
yasdawasda
11 years agoExplorer
Getting head orientation
Feels like this should be a simple one, but I can't find it anywhere. How do I get access to the rotation values for the head tracking? I want to use the head tracking values to control the pitch/y...
himmelmax
7 years agoHonored Guest
// Doesn't look like this will work for Oculus Go ... :/
Vector3 PlayerHeadPos = Vector3.zero;
OVRNodeStateProperties.GetNodeStatePropertyVector3( UnityEngine.XR.XRNode.Head,
NodeStatePropertyType.Position,
OVRPlugin.Node.Head,
OVRPlugin.Step.Render,
out PlayerHeadPos );
// Edit: jkafkaris's suggestion worked for meQuick 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
- 3 years ago
- 6 months ago