x


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?

more ▼

asked Sep 02 '11 at 08:47 PM

Hendrys gravatar image

Hendrys
104 7 8 11

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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."

more ▼

answered Sep 02 '11 at 09:22 PM

Owen Reynolds gravatar image

Owen Reynolds
11.3k 1 7 45

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x439
x286
x134
x20

asked: Sep 02 '11 at 08:47 PM

Seen: 1142 times

Last Updated: Sep 02 '11 at 09:22 PM