Log inGet started
Package

metropolisVehicles.package

This package holds more than this page lists. See all of its files in its world.

README.md

routes

This module provides tools for generating and managing lane routes within a city's road network, based on the cityGen.query plan. It allows callers to find the shortest drivable path between two points, or to generate a continuous "wander" route for ambient traffic. The module also offers functions to retrieve the center line of a specific lane on an edge, calculate lane offsets, and identify kerbside parking bays. It is primarily called by AI drivers or other systems that need to navigate vehicles through the city. Traffic adheres to right-hand driving rules, and stop lines are set back from junctions based on road class and width.