Hi, I was wondering how to use the navigation agent. (Godot 4.0 alpha 7)
settargetlocation ( Vector2 location ) is how the target location is done. But how is starting location handled.
getnavpath ( ) keeps giving me an empty array.
I have a tile map with navigation and collision.
The documentation is not being very helpful here. It says:-
The agent needs navigation data to work correctly. NavigationAgent2D is physics safe.
navigation data means what. I thought the tile map with navigation tiles counted as navigation data.