Increase max. slip, decreased minimal value for "load factor max", increased maximal value for "load factor min"

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3318 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e455422adf8bfaac721fe71ef39caef7b24456cd
Former-commit-id: 365029e5d644c3a5c10e3724069447b824b3389c
This commit is contained in:
kakukri 2011-02-05 19:40:55 +00:00
parent de9ffe455c
commit 2a03ba49a6

View file

@ -63,8 +63,8 @@ SimWheelConfig(tCar *car, int index)
wheel->cosax = cos(wheel->relPos.ax); wheel->cosax = cos(wheel->relPos.ax);
wheel->sinax = sin(wheel->relPos.ax); wheel->sinax = sin(wheel->relPos.ax);
wheel->lfMin = MIN(0.8f, wheel->lfMin); wheel->lfMin = MIN(0.9f, wheel->lfMin);
wheel->lfMax = MAX(1.6f, wheel->lfMax); wheel->lfMax = MAX(1.1f, wheel->lfMax);
RFactor = MIN(1.0f, RFactor); RFactor = MIN(1.0f, RFactor);
RFactor = MAX(0.1f, RFactor); RFactor = MAX(0.1f, RFactor);
@ -230,7 +230,7 @@ void SimWheelUpdateForce(tCar *car, int index)
car->carElt->_reaction[index] = reaction_force; car->carElt->_reaction[index] = reaction_force;
} }
stmp = MIN(s, 1.5f); stmp = MIN(s, 150.0f);
// MAGIC FORMULA // MAGIC FORMULA
Bx = wheel->mfB * stmp; Bx = wheel->mfB * stmp;