TheDuckCow / godot-road-generator

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

Messed up RoadLanes in some scenarios #171

Open TheDuckCow opened 2 weeks ago

TheDuckCow commented 2 weeks ago

Copying over the unfinished work from #136 , we have some scenarios where RoadLanes don't get placed as they should and as the road textures would imply:

Documenting this as I've needed to summarize it for myself several times, and what I'm planning to do with it:

As mentioned, half of the items above would be fixed with "normalization" where we go through and see which roadpoints are most commonly in one particular direction, and then flip the direction and connections of all other roadpoitns (physically rotating them 180º) so that everything is now going in order.