diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-12 23:18:58 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-12 23:18:58 +0100 |
commit | 39dd219fbc5d82871a83999d1fb655efa19971c0 (patch) | |
tree | 12f383dab1f40720e3941a17fa873927893c9524 | |
parent | assert, temp fixes (diff) | |
parent | ProcessWheel bug (diff) | |
download | re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.gz re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.bz2 re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.lz re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.xz re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.zst re3-39dd219fbc5d82871a83999d1fb655efa19971c0.zip |
-rw-r--r-- | src/vehicles/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index c2bca63e..e1e00667 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -913,7 +913,7 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon float turnImpulse = turnSpeed*GetMass(wheelContactPoint, turnDirection); ApplyMoveForce(impulse * direction); - ApplyTurnForce(turnImpulse * direction, wheelContactPoint); + ApplyTurnForce(turnImpulse * turnDirection, wheelContactPoint); } } |