Fixed wheels so they rotate in the correct direction.

This commit is contained in:
sjbaker
2007-01-07 05:41:50 +00:00
parent c268b290dd
commit b924cb57d3

View File

@@ -110,7 +110,7 @@ void btRaycastVehicle::updateWheelTransform( int wheelIndex , bool interpolatedT
btQuaternion steeringOrn(up,steering);//wheel.m_steering);
btMatrix3x3 steeringMat(steeringOrn);
btQuaternion rotatingOrn(right,wheel.m_rotation);
btQuaternion rotatingOrn(right,-wheel.m_rotation);
btMatrix3x3 rotatingMat(rotatingOrn);
btMatrix3x3 basis2(