Forum Discussion
Anonymous
4 years agoBone Rotations to Joint Angles
I would like to know what would be the best approach to converting bone rotations (quaternions) to joint angles (ideally a single angle value based on the axis of rotation for the joint rather than euler angles).
Currently, I have data from a Quest 2 app that has several bone rotation quaternions which I assume each correspond to the joints in this diagram ![]()
To get the joint angle, I follow the euler axis representation of a quaternion https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation#Using_quaternions_as_rotations
and simply use this calculation: joint angle = 2*acos(real or scalar part of bone rotation quaternion) to get a joint angle from a bone rotation.
I would like to know if 1) I'm interpreting bone rotations and how they are organized properly 2) if the calculation makes sense 3) if there's any conversion that's available that can be used. Thanks!
No Replies
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
- 3 years ago
- 2 years ago
- 3 years ago