TheDuckCow / godot-road-generator

A godot plugin for creating 3D highways and streets.
MIT License
316 stars 16 forks source link

Update generatred LaneSegments for left, right, next, and prior lanes #47

Closed TheDuckCow closed 1 year ago

TheDuckCow commented 1 year ago

The Lane Segment class should be updated with a function to auto-determine what to assign for next/prior lane (for continuous AI following) as well as left/right allowable transition lanes for moving from one lane to the next (without allowing moving into oncoming traffic!).

This should work for both auto generated lane segments as well as hand-placed lane segments, to allow for fine-tuning.