mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-25 22:10:41 -04:00
changed rotation order
This commit is contained in:
parent
410b693555
commit
70c74ede05
@ -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…
x
Reference in New Issue
Block a user