irrlicht uses euler angles - but which kind? - in euler the order matters (and it effects the math i use to convert an outside matrix to euler) - thanks!
ps. this answer should be added to the FAQ as basic info - or into the docs
Euler - is irrlicht setup as XYZ or ZXY or ??
-
Maureen Mccormick
hi powerpop
I think that irrlicht uses the "NASA Standard Aeroplane" euler angle interpretation.
I take that from the source itself
so, a correct interpretation for irrlicht should be: [R]=[R3][R2][R1] with
R3 - a rotation around the x-axis, R2 - a rotation around the y-axis and R1 - a rotation around the z-axis
hope that helps.
Maureen
I think that irrlicht uses the "NASA Standard Aeroplane" euler angle interpretation.
I take that from the source itself
Code: Select all
matrix4::setRotationRadians( const vector3df& rotation ) R3 - a rotation around the x-axis, R2 - a rotation around the y-axis and R1 - a rotation around the z-axis
hope that helps.
Maureen