mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-23 06:12:12 +03:00
434 B
434 B
Lane-changing
Ah, this bundle of joy.
Steps:
-
decide if LCing can ever fail (or if cars will just stop and wait to merge)
-
query to know when is it safe (similar to spawn checking)
-
the state to execute it (and assert it completes in time)
-
the modifications to lookahead
-
change pathfinding to understand new movements
- how many LCs can be done on one road?
- how to render it? = change what turns are initially created