NavMeshPath CalculatePath( CalculatePathRequest request )

Summary

Computes a navigation path between the specified start and target positions on the navmesh. Uses the same pathfinding algorithm as NavMeshAgent, taking agent configuration into account if provided. The result is suitable for direct use with NavMeshAgent.SetPath. If a complete path cannot be found, the result may indicate an incomplete or failed path.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.