five-on-it / packages/world/src/road-graph / laneSpot
Function: laneSpot()
laneSpot(
road,along,back,over):SpawnPoint
Defined in: packages/world/src/road-graph.ts:153
Where a car stands on a road along metres from its start: the centre of the rightmost lane of travel (with the road, or against it when back), over metres above the road, facing the way that lane runs.
Parameters
road
along
number
back
boolean
over
number