The navigation mesh.
The starting position in world space.
The ending position in world space.
The half extents for nearest polygon queries.
The query filter.
The step size for movement along the surface
The distance tolerance for reaching waypoints
The result of the smooth pathfinding operation, with path points containing position, type, and nodeRef information.
Find a smooth path between two positions on a NavMesh.
This method computes a smooth path by iteratively moving along the navigation mesh surface using the polygon path found between start and end positions. The resulting path follows the surface more naturally than a straight path.
If the end node cannot be reached through the navigation graph, the path will go as far as possible toward the target.
Internally: