I'm working on a programming project, in this project I'm receiving an angle as a quaternion value, I partially understand how they work but I don't find any math to get the values I need.
What I would need is the angle between a fictional line/vector going to the the quaternion point from the origin (yes I know what you are thinking, but I couldn't think of a better explanation) and the "earth" a plane that is perpendicular to the gravitational vector, in this case one of your planes of reference.
Also I would need to get the rotation of the line/vector, this time the rotation should be according to the plane perpendicular to itself.
If possible all angles should be described as an angle between -180° and 180° (that's were my troubles are from.
If someone could help me by this it would be awesome
Thank you in advanced
~TJ
In this picture γ complementary angle of the first questing and R is the secondary angle.
Angles
2026-03-25 12:21:25.1774441285
Quaternion angle calculation
279 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
Thank you, apparently that did it!