+1 vote

I want to create something like a road network, similar to the screenshot, with vertices and segments (so basically an undirected graph), to be able to apply A* to it, and move vehicles along the paths.

What is the best way to be able to model (draw/edit) these within the Editor? Does it need to be a 100% custom-built script which listens to input events, draw lines, etc., or is there a simpler way which re-uses existing nodes?

enter image description here

in Engine by (13 points)

How about paths. You can make the car follow it by using the pathfollow nodes.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.