I am trying to apply godot's Navigation to create a pahtfinding enemy in a Platformer game. I've read about a method to allow for pathfinding to take into account gravity.

My issue is that what I know I must do is to add more movement cost to higher tiles.

How do I do this?


I have since found the documentation for the Astar Node. Wish me luck.

  • 3
    \$\begingroup\$ Rather than an edit, post an answer so it can be closed \$\endgroup\$ – Sidar Apr 9 '19 at 9:41

The Astar Node

Godot has an Astar node for pathfinding.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.