0 votes

Hi guys,

I currently working on a 3D game where the player controls a car.
Each round the player has to go to a specific target on the map.

To show him the way I have placed arrows on the streets.

How can I rotate these arrows so that they show him the (shortest) way?


in Engine by (27 points)

1 Answer

+1 vote

So You want every tile of a road to know the path to target and point along shortest. This is definitely the job for vectorfield pathfinding. Beware, it is not so simple concept, requires creative optimization too. Start learning from this source :


by (5,132 points)
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 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.