mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 05:19:59 +00:00
Fixing ColPoints again
This commit is contained in:
parent
5b49c972a0
commit
dd602eb4a4
3 changed files with 5 additions and 5 deletions
|
@ -1934,7 +1934,7 @@ CAutomobile::Render(void)
|
|||
CVector rearWheelFwd = GetForward();
|
||||
for(i = 0; i < 4; i++){
|
||||
if (m_aWheelTimer[i] > 0.0f) {
|
||||
contactPoints[i] = m_aWheelColPoints[0].point - GetPosition();
|
||||
contactPoints[i] = m_aWheelColPoints[i].point - GetPosition();
|
||||
contactSpeeds[i] = GetSpeed(contactPoints[i]);
|
||||
if (i == CARWHEEL_FRONT_LEFT || i == CARWHEEL_FRONT_RIGHT)
|
||||
m_aWheelSpeed[i] = ProcessWheelRotation(m_aWheelState[i], frontWheelFwd, contactSpeeds[i], 0.5f*mi->m_wheelScale);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue