1
\$\begingroup\$

Pathfinding

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?

EDIT

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

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

The Astar Node

Godot has an Astar node for pathfinding.

\$\endgroup\$

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.