mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
changed rotation order
This commit is contained in:
parent
410b693555
commit
70c74ede05
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ namespace MWWorld
|
|||
Ogre::Quaternion rotx(Ogre::Degree(x),Ogre::Vector3::UNIT_X);
|
||||
Ogre::Quaternion roty(Ogre::Degree(y),Ogre::Vector3::UNIT_Y);
|
||||
Ogre::Quaternion rotz(Ogre::Degree(z),Ogre::Vector3::UNIT_Z);
|
||||
ptr.getRefData().getBaseNode()->setOrientation(rotz*rotx*roty);
|
||||
ptr.getRefData().getBaseNode()->setOrientation(rotz*roty*rotx);
|
||||
mPhysics->rotateObject(ptr.getRefData().getHandle(),ptr.getRefData().getBaseNode()->getOrientation());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue