Godot Version
4.x
Question
Pathfinding through slopes
Hi! I will be as concise as possible.
I have pathfinding with tiles. My setup is having a special tile which is navigatable, like this
So I fill a map with them where a bot will move from Point A to Point B. I don’t “bake” meshes or anything, so my navigation is entirely set by tiles that could be moved and created dynamically.
I need the bot to move through slopes efficiently. See these two examples
There is navigation tiles also in the slope path. The bot goes from A to B through the slope. It is just one way. This works
Here’s another example.
The bot wants to go from A to B, but bot cannot climb the wall, so the bot needs to resolve the longest path from the stair to progress.
Is this possible with the current NavigationAgent node? I haven’t figured out a way to fix this.
I cannot add dynamic navigatable nodes when the bot goes down to the slope, or when the bot crosses the stair because there’s not going to be 1 bot, but let’s say 100. And they could be on different parts of the map
Thanks!