Fixed orientation of wheel rotation.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2010-05-06 23:23:51 +00:00
parent e201176255
commit 41a250e2b6

View File

@@ -282,7 +282,7 @@ void KartModel::update(float rotation, float visual_steer,
clamped_suspension[i] = ratio*suspension_length;
} // for i<4
core::vector3df wheel_rear (-rotation*RAD_TO_DEGREE, 0, 0);
core::vector3df wheel_rear (rotation*RAD_TO_DEGREE, 0, 0);
core::vector3df wheel_steer(0, visual_steer, 0);
core::vector3df wheel_front = wheel_rear+wheel_steer;