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:
parent
6bc216f203
commit
f296461d21
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user