NavigationAgent3D pathing problem

Godot Version

4

Question

I am having an issue with using Nav Agent 3d, I’m trying to get the closest available point on the mesh to a node. I’ve seen the 2d Nav Agent has a method for getting the closest point and was wondering what the 3d alternative of that would be.

Neither the NavigationAgent2D or 3D have functions to get the closest point, not sure where you have seen those, but both the NavigationServer2D and 3D have the function map_get_closest_point() to query the closest point on the navigation map that is on navigation mesh.