NavigationAgent2D does not emit target_reached

Godot Version

4.3

Question

I’m using NavigationAgent2D and a baked NavigationPolygon. I order my agent to get to a specific point. The path is set, the agent moves, however when it reaches the point (the distance between his position and target position is lower than the threshold set in the NavigationAgent2D), it does not send the target_reached signal.
I can check the position each _process step, but I would rather rely on the signal to progress.

EDIT: I found the error, it was in my movement logic handling.

Mark this issue as solved if you managed to fix it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.