Data that defines how to move a train in a section.

Hierarchy

  • TrackType

Properties

acceleration: number

Amount times gravity used to accelerate the train

clampToTargetSpeed: boolean

If true, the train's speed will attempt to be clamped to speed

deceleration: number

Amount times gravity used to decelerate the train

speed: number

The target speed

type: MoveType

Determines how to move a train in this section

useFriction: boolean

If true, train will be affected by friction

useGravity: boolean

If true, train will be affected by gravity

Generated using TypeDoc