Question by
preiselbastian · Aug 29, 2018 at 04:33 PM ·
vector3navmeshpathfinding
Check valid path between two waypoints
I have looked at the NavMesh.CalculatePath function, but it requires a NavMeshPath object in the parameter, which I don't have. My AI uses SetDestination which doesn't return a NavMeshPath object, which CalculatePath requires.
So how do I check if there is a valid path between two waypoints?
Comment
Your answer
Follow this Question
Related Questions
[Unity .3.03f] NavMeshAgent stops after rebaking NavMeshSurface 0 Answers
Vector 3 MoveTowards not working in my coroutine 0 Answers
Farthest Reachable Destination 0 Answers
Not optimal path on Nawmash 0 Answers