- Home /
Question by
barbodshahrabadi · Sep 09, 2019 at 05:38 PM ·
navmeshnavmeshagent
how to check with destination is easier for nav mesh agent to reach?
hi guys, actually i have multiple targets for my agent, i want to know which one of them is easier for agent to reach based on areas costs and distance?(all of targets are reachable)
Comment
Best Answer
Answer by YetAnotherKen · Sep 09, 2019 at 07:51 PM
Search for a "Shortest Path Algorithm". This kind of thing is quite common in discussion of AI or gaming in general.
Your answer
![](https://koobas.hobune.stream/wayback/20220612211926im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
NavMesh giving jerky like motion 0 Answers
Toggling NavMeshAgent and NavMeshObstacle 2 Answers
check if agent reach destination 1 Answer
line in navmesh obstacle 1 Answer