- Home /
Trouble with Navmesh Agent and Navmesh Obstacle
Hello everyone, I'm having an issue where a NMA becomes "blocked / trapped" when it encounters a certain type of NMO setup, and I'm not sure how to proceed.
In Detail:
I've got a situation where because of the shape of a moving object(s) (ships in this case), I need to use multiple smaller NMOs because using 1 large NMO does a very poor job of approximating the shape of the object. However, I'm finding that when a NMA encounters these overlapping NMOs, it manages to wedge itself in between them (essentially trying to avoid one, then the other, then back to the first NMO, and so on), seemingly unaware (or unable) to try to avoid both of them at the same time. Hopefully the attatched picture will help show what I'm getting at where essentially, the NMA manages to wedge itself between both NMOs and cannot figure out that between these multiple NMOs, they create a solid blockage that the NMA can't get through.
Any ideas are appreciated, thank you for reading.
Your answer
Follow this Question
Related Questions
Way to ignore specific navmeshobstacles for specific navmeshagent when creating path? 0 Answers
How to let a navMeshAgent detect if path is blocked by an obstacle? 1 Answer
NavMeshAgent and NavMeshObstacle together, unit jumping a small distance on toggle 2 Answers
Unity NavMesh obstacle avoidance? 0 Answers
Navmesh with destructible obstacles 1 Answer