Skip to content

five-on-it / packages/sim/src/seats / doorPoint

Function: doorPoint() ​

doorPoint(vc, door, out?): object

Defined in: packages/sim/src/seats.ts:110

Where a door is in its car's frame: on its flank (or at its end) out metres beyond the body (to its left, ahead of its centre).

Parameters ​

vc ​

VehicleClass

door ​

VehicleDoor

out? ​

number = 0

Returns ​

object

across ​

across: number

along ​

along: number