Open Rails

MSTSLocomotive.Update Method

[This is preliminary documentation and subject to change.]

This is a periodic update to calculate physics parameters and update the base class's MotiveForceN and FrictionForceN values based on throttle settings etc for the locomotive.

public override void Update(
   float elapsedClockSeconds
);

See Also

MSTSLocomotive Class | ORTS Namespace