Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ergo |
Hello,
I’m trying to make pathfinding for an enemy. When trying to use a Navigation2D
node on version 3.5, I got a warning saying it is now deprecated. I know I can still use it for now, but I’d rather try a different method, as it might be more convenient with my current project set up.
The documentation suggests I use Navigation2DServer.map_get_path
instead. That seems to require me to manually set up the maps and regions, but I can’t get it to work or find any tutorials on it.
Is there a way to use it with tilemaps
like I would with the Navigation2D
node? If so, how should I go about it? Am I just approaching this the wrong way?
*I know I can use AStar2D
but I don’t want the enemy to be stuck to a grid. I am considering using it instead if I can’t get anything else to work.