NavMeshAgent becomes stuck when near the edge of the navmesh
Hey everyone,
I have run into an odd issue where a NavMeshAgent will get stuck on the edge of a NavMesh... It will move fine if the next destination is on the edge but when the destination gets set to someplace inside the NavMesh it will not leave the edge.
This is an example of the issue https://gyazo.com/3eb934d40779443ea54bc471e0d770f7
Answer by bbudian0 · Jan 07, 2021 at 10:37 PM
Turns out my spawn volume, which was a box collider, was not set to a trigger... its bounds are just inside the park and so if they got near the edge then the collision kicked them out permanently!
Your answer
Follow this Question
Related Questions
What does desiredVelocity do? 0 Answers
Navmesh point 0 Answers
NavMeshAgent Issue 0 Answers
How to exclude certain navmesh obstacles on runtime? 2 Answers
How to make NavMesh obstacle selectively obstruct agents? 0 Answers