simuv4.1: use z-axis forces in addition to x/y axis forces for lat-long heat gain modifiers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9256 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
parent
a14433b213
commit
9b43ee310a
|
@ -905,8 +905,9 @@ void SimWheelUpdateTire(tCar *car, int index)
|
|||
tdble energyGain = normalForce * wheelSpeed * SimDeltaTime * hysteresis;
|
||||
|
||||
// Modifiers for energy input from lateral and longitudinal forces.
|
||||
latMod = ((lateralForce - absForce2) * wheel->latHeatFactor) * SimDeltaTime * 0.0004;
|
||||
longMod = ((longForce - absForce2) * wheel->longHeatFactor) * SimDeltaTime * 0.0008;
|
||||
latMod = ((lateralForce * absForce2) * wheel->latHeatFactor) * SimDeltaTime * 0.0004;
|
||||
longMod = ((longForce * absForce2) * wheel->latHeatFactor) * SimDeltaTime * 0.0004;
|
||||
|
||||
tdble energyMod = (latMod + longMod);
|
||||
|
||||
tdble lockMod = 0;
|
||||
|
|
Loading…
Reference in New Issue