five-on-it / packages/sim/src/vehicle / bodyOfAnother
Function: bodyOfAnother()
bodyOfAnother(
sim,self): (c) =>boolean
Defined in: packages/sim/src/vehicle.ts:695
Whether a collider belongs to a car, a trailer or a person other than self (and its trailer): what a vehicle or a person put somewhere must not be put into.
Parameters
sim
self
number
Returns
(c) => boolean