r/oculusdev • u/Illustrious-Term6483 • Mar 21 '22
Hand Tracking Bone Position
I need to be able to access the hand tracking bone ID data and save it for offline analysis. I have seen that it can be retrieved from the hand information as an OVRSkeleton list but I would like to extract that information to use later on. So, I need to be able to read and store all the hand position data in a Unity scene... Anyone has been able to do it?
I hope someone can help me out here... Thanks :)
3
Upvotes
View all comments
Show parent comment
2
u/OctoXR Mar 23 '22
You can make an array of arrays and store the positions and rotations of bones there. When you finish, you can store that data in some text file or json. If you were to do that each frame, that is going to collect a lot, like, really a lot of data.You can also save that data in scriptable object but then you can only use this in the unity editor.
If you want to record that for animation purposes, here is a script: