Defines the reason why physics simulation stopped

Enumeration Members

DirectionChanged: 3

Stopped when, while stopWhenDirectionChanges is true, moveDirection changed

See stopWhenDirectionChanges

HasPassedStopPosition: 0

Stopped by StopPosition. Train has reached the given position on the track.

See StopPosition

HasValleyed: 2

Determined it has valleyed: speed is below the isValleyingRange for maxValleyTime seconds.

See isValleyingRange See maxValleyTime

ReachedMaxSimulationTime: 4

Max simulation time was reached.

maxSimulationTime

StoppedByTypeSection: 1

Stopped by TypeSection.

This happens when TypeSection.speed is 0 and section decelerates to target speed.

See TrackSectionsData

Generated using TypeDoc