# CalculatePath Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.NavigationMesh.NsdkNavMesh.CalculatePath/ CalculatePath --- ## Declaration public bool CalculatePath(Vector3 fromPosition, Vector3 toPosition, AgentConfiguration agent, out Path path) ### Parameters | Name | Type | Summary | | --- | --- | --- | | fromPosition | Vector3 | - | | toPosition | Vector3 | - | | agent | AgentConfiguration | - | | path | Path | - | ---