five-on-it / packages/sim/src/vehicle-classes / VehicleDoor
Interface: VehicleDoor
Defined in: packages/sim/src/vehicle-classes.ts:183
A door of a vehicle, in its frame: the side it opens on and how far forward of the chassis centre it is (seats.ts reads them off the model's doorways), or a spot along a flank.
Properties
along
along:
number
Defined in: packages/sim/src/vehicle-classes.ts:187
Forward of the chassis centre (m; negative toward the rear).
doorway?
optionaldoorway?:string
Defined in: packages/sim/src/vehicle-classes.ts:189
The model's doorway it is, if it is one (fl, middle, rear).
side
side:
number
Defined in: packages/sim/src/vehicle-classes.ts:185
1 on the left (the driver's side), −1 on the right; 0 at an end (the back for along below 0, the front above).