Forum Discussion
naomi_k123
6 years agoHonored Guest
Obtaining head tracking information
Hello,
I am trying to record head tracking info such as orientation, velocity and acceleration of headset when moving head side to side. Anyone know how to obtain these records in Unity? I'd like to output these values to a cvs for analysis.
Thank you
I am trying to record head tracking info such as orientation, velocity and acceleration of headset when moving head side to side. Anyone know how to obtain these records in Unity? I'd like to output these values to a cvs for analysis.
Thank you
5 Replies
Replies have been turned off for this discussion
- rh_galaxyHeroic Explorer
Record the transform of OVRCameraController? - naomi_k123Honored Guest
Thanks for your reply!
Sorry I'm a newbie but when I rotate the headset around in a stationary spot the camerarig transform doesn't change? - rh_galaxyHeroic ExplorerDo you mean that you rotate it externally, like in the code, or rotate it by rotating your body?
If you want to modify the rotation without rotating your body, you better use a container for the CameraRig, and do the modifications to the container transform... or the changes will not be seen. - naomi_k123Honored GuestSorry I don't quite know what a container is :(
To clarify I am rotating my head externally and would like to record how fast my head moves and how far it moves from a specified axis (direction/orientation) into a csv. When I rotate I do not see the transform values changing in the unity editor. - rh_galaxyHeroic ExplorerA container is just an empty gameobject in Unity that you place the CameraRig in, like in the image (CameraHolder).
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
- 2 years ago