Author Topic: Quaternions for transformations?  (Read 204 times)

John boud   «   on: January 09, 2012, 08:19:03 PM »
Hi Guys,

im nwe to Flare3D but i have experience with other 3D engines. i notice that most rotations are performed in euler angles. this can be somewhat limited and perhaps too simple for serious engine use.

would it be possible to add a quaternion class and method overloads to transform meshes with quaternions?

thanks

Michael IV(SasMaster)   «   Reply #1 on: January 10, 2012, 07:09:29 AM »
First you are right.But from the other side you can write or find a ready Quaternion utility class.Also do you know that Matrix3D.decompose() metho allows you to extract Quaternion orientation data? See Orientation3D.QUATERNION in the AS3 Adobe docs.