Simulates physics for a train moving along the track. Acceleration due to gravity is determined by the average of the current vertical angle of all the wheel sets.

The positions for wheel sets for the train are determined by the positionOffsets

Also see positionOffsets for more info on how to generate this.

Hierarchy

Properties

Properties

positionOffsets: number[]

Generated using TypeDoc