- Home /
Question by
BuzzyRoboYT · Feb 04 at 05:35 PM ·
navmeshnavmeshagentnavigationstuck
Stop NavMesh Agent from getting stuck
I have a bunch of navmesh agents with colliders, they are my enemies. I have a script which makes them wander around by randomly picking a point and setting the destination to that point, but when 3 of them try to cross eachothers paths they all get stuck walking into eachother, how would I stop them from getting stuck? Is there a way to make it choose another point after a few seconds of being stuck?
Comment
Try to modify the values of radius in obstacle avoidence. This variable basically creates a circle around it. And nothing can enter inside the borders of that circle.
Your answer
![](https://koobas.hobune.stream/wayback/20220613052615im_/https://answers.unity.com/themes/thub/images/avi.jpg)