You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WheelStopSlipTimeS=0;// Reset stop slip time if wheel slip starts
@@ -3051,7 +3051,7 @@ public virtual void UpdateFrictionCoefficient(float elapsedClockSeconds)
3051
3051
{
3052
3052
WheelSlipTimeS=0;// Reset slip time if wheel slip stops
3053
3053
3054
-
if(SlipFrictionCoefficientFactor<BaseFrictionCoefficientFactor&&SlipFrictionCoefficientFactor!=0)// Once these two are equal then assume that wheels have stopped slipping.
3054
+
if((EngineType==EngineTypes.Steam&&SteamEngineType!=MSTSSteamLocomotive.SteamEngineTypes.Geared)&&SlipFrictionCoefficientFactor<BaseFrictionCoefficientFactor&&SlipFrictionCoefficientFactor!=0)// Once these two are equal then assume that wheels have stopped slipping.
3055
3055
{
3056
3056
// Trace.TraceInformation("SlipFriction {0} Base {1}", SlipFrictionCoefficientFactor, BaseFrictionCoefficientFactor);
3057
3057
// Exponential curve is used to transition between dynamic friction and static friction when wheel stops slipping
0 commit comments