PDA

View Full Version : Orientation and Quaternion


Niteshifter
02-03-2010, 04:26 PM
I've recently stumbled onto something while playing around with Alice that I think would help a bunch of people.

As you may or may not know, the orientation controls/displays how far the object has rolled, yawed, and pitched from it's original position.

Now, Quaternion is basically the fancier way of talking about the orientation, so what you can do is save an object's orientation to an orientation variable by going "set orientation variable to object's quaternion" which can be used when checking how far an object has turned, if an object has turned, etc.