1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-26 18:15:27 +00:00

ProcessWheel bug

This commit is contained in:
aap 2021-01-12 22:58:50 +01:00
parent f73e870bde
commit 2088dfb3b3

View file

@ -913,7 +913,7 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon
float turnImpulse = turnSpeed*GetMass(wheelContactPoint, turnDirection); float turnImpulse = turnSpeed*GetMass(wheelContactPoint, turnDirection);
ApplyMoveForce(impulse * direction); ApplyMoveForce(impulse * direction);
ApplyTurnForce(turnImpulse * direction, wheelContactPoint); ApplyTurnForce(turnImpulse * turnDirection, wheelContactPoint);
} }
} }