- Home /
Getting data of head movement with oculus?
Is there any way of exporting/getting data of my head movement when using oculus? I would like to plot the movement, for example how far left/right/up/down from the center I look. Basically tracking the movement during a session and then be able to analyze it. Thanks!
Answer by rh_galaxy · Jul 02, 2020 at 09:56 PM
You will have to do it manually. For example sample the position twice per second and output the points to a file in a format you can read in somewhere else.
Sorry for the late reply and thank you for your answer!
I am able to get the position of the camera but I'm wondering how and where I would output the points? In unity I guess it wouldn't be a problem but when I build and run the app on my Oculus Quest - how and where can I output the data?
Try with this and see what directory it goes to and if you have write access:
FileStream fs = File.OpenWrite(Application.persistentDataPath + "/" + "file.txt");
Yes, a variation of that did it. Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220613002316im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity 3D with Oculus Rift? 2 Answers
Awesomium package + oculus package = nothing is working 1 Answer
add a "tablet" to a 3d space 1 Answer
Oculus Raycast jumping and off 2 Answers
Disable Oculus tracking 1 Answer