Skip to content

five-on-it / packages/ai/src/traffic-drive / isLong

Function: isLong() ​

isLong(vc): boolean

Defined in: packages/ai/src/traffic-drive.ts:238

Whether a class is long enough to keep straight on at junctions (a bus, a truck).

Parameters ​

vc ​

Pick<VehicleClass, "halfExtents">

Returns ​

boolean