Hello, How I can get all positions on my path? May be I can simulate all moves to write all postions to array? I tryed NavMeshAgent.nextPosition, but it works on Time...
NavMesh.CalculatePath to calculate path, which will fill a NavMeshPath, and then you can get the NavMeshPath.corners which is a Vector[] of all the points on path https://docs.unity3d.com/ScriptReference/AI.NavMesh.CalculatePath.html https://docs.unity3d.com/ScriptReference/AI.NavMeshPath.html https://docs.unity3d.com/ScriptReference/AI.NavMeshPath-corners.html