TheDuckCow / godot-road-generator

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

Select or create next RoadPoint 3D widget #42

Closed TheDuckCow closed 1 year ago

TheDuckCow commented 1 year ago

This task is the critical one for enabling more convenient 3D road generation. Exactly how this will function will still require some research, as we out of the box don't likely have actual 3D "buttons" in the scene.

See this source of inspiration: https://user-images.githubusercontent.com/2958461/201505399-edb418fa-03cf-4f82-a6ff-e053c224e630.mp4

Can we create entirely custom widget controllers (similar to how the 3D rotation/movement/scale controller exists)?

Failing this, we would need to do something less convenient like, if the editor window is visible, auto generate collider meshes with click handling that will detect a click in a box area placed somewhere in front of the RoadPoint, and when dragged and then placed then results in a new road being generated.

Should update this task based on what is decided here: https://github.com/TheDuckCow/godot-road-generator/issues/18

TheDuckCow commented 1 year ago

Will be completed by: https://github.com/TheDuckCow/godot-road-generator/pull/43

TheDuckCow commented 1 year ago

Marking this as closed, as we do have a way to add next roadpoint. This doesn't solve for the more central point of being able to arbitrarily place a new roadpoint and have it connect, but that will be addressed by this issue: https://github.com/TheDuckCow/godot-road-generator/issues/64

Thus, I am closing this in the meantime.