five-on-it / packages/sim/src/vehicle / vehicleSpotTaken
Function: vehicleSpotTaken()
vehicleSpotTaken(
sim,spawn,cls,self?):boolean
Defined in: packages/sim/src/vehicle.ts:713
Whether a vehicle of class cls set down at a spawn point would stand in another car or a person (its chassis box there, self aside): a spawn to pass over for another.
Parameters
sim
spawn
cls
number
self?
number = -1
Returns
boolean