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:
harunasan 2024-01-18 05:34:22 +00:00
parent a14433b213
commit 9b43ee310a
1 changed files with 3 additions and 2 deletions

View File

@ -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;