Fix physics angles

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2013-04-05 00:39:34 +00:00
parent 6bc216f203
commit f296461d21

View File

@ -152,7 +152,7 @@ void PhysicalObject::move(const Vec3& xyz, const core::vector3df& hpr)
mat.setRotationDegrees(hpr);
irr::core::quaternion tempQuat(mat);
q = btQuaternion(-tempQuat.X, -tempQuat.Y, -tempQuat.Z, tempQuat.W);
q = btQuaternion(tempQuat.X, tempQuat.Y, tempQuat.Z, tempQuat.W);
Vec3 p(xyz);