Skip to content

five-on-it / packages/sim/src/vehicle-classes / AxleDef

Interface: AxleDef ​

Defined in: packages/sim/src/vehicle-classes.ts:24

One axle: its wheels sit at (±track, wheelAttachY, z); the left one is wheel 2i, the right one 2i + 1.

Properties ​

dual ​

dual: boolean

Defined in: packages/sim/src/vehicle-classes.ts:30

Dual tyres per side: drawn and counted as two tyres per wheel, popped together.


steer ​

steer: boolean

Defined in: packages/sim/src/vehicle-classes.ts:28

The axle steers. Steered axles are the front group for grip and drive; the others the rear.


z ​

z: number

Defined in: packages/sim/src/vehicle-classes.ts:26

Offset of the axle from the chassis centre along +z (forward), m.