Fix rotation order for XYZ rotation keys (Fixes #1067)

moveref
scrawl 10 years ago
parent 1f74d8cca5
commit 8f29f2667e

@ -483,7 +483,7 @@ public:
Ogre::Quaternion xr(Ogre::Radian(xrot), Ogre::Vector3::UNIT_X);
Ogre::Quaternion yr(Ogre::Radian(yrot), Ogre::Vector3::UNIT_Y);
Ogre::Quaternion zr(Ogre::Radian(zrot), Ogre::Vector3::UNIT_Z);
return (xr*yr*zr);
return (zr*yr*xr);
}
public:

Loading…
Cancel
Save