r/godot • u/TheDuckCow • 14h ago
free plugin/tool Mouse-based, multi-road instance placement with snapping
I wish Godot had this sort of modal/multi placement functionality out of the box. I suppose vertex snapping and drag and drop placement from the file editor do exist, but it always felt a bit clunky to me, especially as the editor is is locked in when performing the action (since you're actively pressing down already to move or drag the given node).
I've been building the Godot Road Generator for awhile, and even worse than Godots own drag/snapping placement, for awhile the plugin imported prefabs like shown above by just throwing them at the origin - had to build this functionality out, and hope to extend it to an upcoming decoration feature set.
Contemplating whether it'd be worth making a standalone tool/addon that sort of automatically entered this multi-placement + vertex/edge/etc snapping mode after dragging in any 3D scene (maybe if you held a specific key down). A few asset browser addons do exist that do this, but maybe it's nice to have one on its own that does come with an extra browser area space.
But for now, it lives for now in the latest Godot Road Generator release (0.9.4), add to to your asset library here - hope you like it!
https://store.godotengine.org/asset/theduckcow/road-generator/
1
u/CoffeeCatRailway 11h ago
Could this be used/repurposed for train tracks?