mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 13:55:54 +00:00
gravity
This commit is contained in:
parent
197c49d740
commit
de1018d7a6
|
@ -846,7 +846,7 @@ CAutomobile::ProcessControl(void)
|
|||
|
||||
if(m_aSuspensionSpringRatio[0] < 1.0f || m_aSuspensionSpringRatio[1] < 1.0f ||
|
||||
m_aSuspensionSpringRatio[2] < 1.0f || m_aSuspensionSpringRatio[3] < 1.0f)
|
||||
ApplyTurnForce(-0.008*Min(m_fTurnMass, 2500.0f)*GetUp(), -1.0f*GetForward());
|
||||
ApplyTurnForce(-GRAVITY*Min(m_fTurnMass, 2500.0f)*GetUp(), -1.0f*GetForward());
|
||||
}
|
||||
|
||||
brake = m_fBrakePedal * pHandling->fBrakeDeceleration * CTimer::GetTimeStep();
|
||||
|
|
Loading…
Reference in a new issue