Closed coder137 closed 1 year ago
Agents do not route around the obstacle
The NavigationObstacle2D has scaled visuals from the inherited Node2D scale. The actual obstacle on the navigation map created with this radius / those vertices is tiny and so it is mostly ignored by the agents.
Agents do not "route" in the sense of planning a different path around the obstacle. The obstacle pushes back the avoidance velocity of the agent.
If the navigation path points through the obstacle, because there is still navigation mesh below it, there is only so much the avoidance can do to make agents "route" around it.
Thanks for the explanation, That makes sense. Closing this issue
Godot version
4.2-dev5
System information
Windows10
Issue description
NavigationAgent2D does not avoid NavigationObstacle2D (static or dynamic)
Steps to reproduce
Minimal reproduction project
Tilemap.zip
Other issues seen with the same project