mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
ProcessWheel bug
This commit is contained in:
1 parent
0afa027ab4
commit
8858df2185
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user