Skip to content

five-on-it / apps/client/src/renderer/wreck-smoke / engineBay

Function: engineBay() ​

engineBay(vc): object

Defined in: apps/client/src/renderer/wreck-smoke.ts:57

Where a class's engine bay is in the car's frame (m, x left, z forward, from the chassis centre): at the top of the body over the front axle's end, behind the cabin, or over the back.

Parameters ​

vc ​

VehicleClass

Returns ​

object

x ​

x: number

y ​

y: number

z ​

z: number