mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 10:45:53 +00:00
ProcessWheel bug
This commit is contained in:
parent
0afa027ab4
commit
8858df2185
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue