[This is preliminary documentation and subject to change.]
Move the traveller along the track by the specified distance, or until the end of the track is reached.
Parameters
-
distanceToGo
- The distance to travel along the track. Positive values travel in the direction of the traveller and negative values in the opposite direction.
Return Value
The remaining distance if the traveller reached the end of the track.
See Also
AETraveller Class | Orts.Formats.OR Namespace