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?
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."
answered Sep 02 '11 at 09:22 PM