diff options
author | aap <aap@papnet.eu> | 2021-01-12 22:58:50 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-12 23:02:32 +0100 |
commit | 2088dfb3b383ad5f98ab95e2e8730e6c0229a06c (patch) | |
tree | 5e3c844a6391eb431f45c780d3d1d2b81c2bb45b /src | |
parent | Merge remote-tracking branch 'origin/miami' into lcs (diff) | |
download | re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.tar re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.tar.gz re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.tar.bz2 re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.tar.lz re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.tar.xz re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.tar.zst re3-2088dfb3b383ad5f98ab95e2e8730e6c0229a06c.zip |
Diffstat (limited to 'src')
-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); } } |