mirror of
https://github.com/halpz/re3.git
synced 2025-04-21 01:56:59 +00:00
ProcessWheel bug
This commit is contained in:
parent
f73e870bde
commit
2088dfb3b3
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user