- Home /
What is the Angle between Quaternions?
I mean, i understand that Quaternion.Angle returns "the angle between two rotations", but i don't understand that concept at all.
When i have an object whose eulerAngles are X=0, Y= 45, Z = 45. The angle between this object and Quaternion.identity results in 62º. What does the 62º represent?.
Is there a graphical way to understand this concept?
Answer by Owen-Reynolds · Sep 02, 2011 at 09:22 PM
It tells you the 3D angle between any line, and another line rotated by that Quat.
(0,45,45) sort of says to aim the turret 45 degrees sideways, then 45 degrees up. When you measured the diagonal angle that makes with the original, you got 62 degrees. It's a little like hypotenuse.
Say you are facing a certain way and have 30 degrees of perhiprial vision. Checking if the angle between your facing and the angle to anything else is less than 30, that gives you a 30 degree "view cone."
Your answer
Follow this Question
Related Questions
How do I clamp the Z-Axis Rotation for this code? 1 Answer
Quaternions, Eulers, and SmoothDampAngle 0 Answers
quaternion.eulerAngles 1:1 angle conversion 1 Answer
Euler angle rotation in self space problem. 1 Answer
follow an object's x-axis and have it translate smoothly into another object's z-axis rotation 1 Answer