|
|
|
@ -860,6 +860,16 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
if(pHandling->bABS && brake != 0.0f && brake < 1.0f && brake > adhesion) {
|
|
|
|
|
if((uint16)m_fBrakeABSTimer[wheelId] < CTimer::GetTimeStepInMilliseconds()) {
|
|
|
|
|
m_fBrakeABSTimer[wheelId] = 50;
|
|
|
|
|
brake = adhesion;
|
|
|
|
|
} else {
|
|
|
|
|
m_fBrakeABSTimer[wheelId] -= CTimer::GetTimeStepInMilliseconds();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(brake > adhesion){
|
|
|
|
|
if(Abs(contactSpeedFwd) > 0.005f)
|
|
|
|
|