TheDuckCow / godot-road-generator

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

RoadLanes unexpectedly twist when a RoadSegment is rotated #149

Closed bdog2112 closed 6 months ago

bdog2112 commented 8 months ago

RoadLanes twist when a RoadSegment is rotated. They should remain straight or, at least, the same as they were before the rotation. Here are some screenshots to demonstrate the problem.

In this screenshot, a 2x2 Road is added to an empty scene. "Draw Lanes Editor" is enabled. So, we see orange triangles depicting the RoadLanes and they are straight. ai_lanes_02

In this screenshot, the 2x2 Road has been rotated 45° and the RoadLanes are now twisted. They should be straight like they were in the first image. ai_lanes_03

TheDuckCow commented 6 months ago

Closing this issue as the fix was made by