Open Rails

TrainControlSystem.Deceleration Field

[This is preliminary documentation and subject to change.]

(float currentSpeedMpS, float targetSpeedMpS, float distanceM) Returns the deceleration needed to decrease the speed to the target speed at the target distance

public Func<float, float, float, float> Deceleration;

See Also

TrainControlSystem Class | ORTS.Scripting.Api Namespace