Open Rails

TrainControlSystem.DistanceCurve Field

[This is preliminary documentation and subject to change.]

(float currentSpeedMpS, float targetSpeedMpS, float slope, float delayS, float decelerationMpS2) Returns a distance curve based safe braking distance, unit is m

public Func5<float, float, float, float, float, float> DistanceCurve;

See Also

TrainControlSystem Class | ORTS.Scripting.Api Namespace