- Home /
NavMeshAgent avoidance problem
Hi. I recorded a short vid demonstrating the problem. You will see 3 melee goblins approach the tower, then the first one will stop moving and will start attacking the tower, while the two behind him WILL PUSH HIM INSIDE THE TOWER, instead of going around him as they try to approach the tower.
All goblins have the same priority, I don't know why they're not going around each other. They have correct radius.
Anyone could tell me what I'm doing wrong?
Answer by Gigiga · Jul 10, 2015 at 08:17 PM
I'm not sure if it works, but try adding a NavMeshObstacle to your Goblins.
No, you can't have Nav$$anonymous$$eshObstacle and Nav$$anonymous$$eshAgent on the same GameObject (or its children).
Your answer
Follow this Question
Related Questions
NPC's bump into eachother trying to reach a position 1 Answer
Any way to make Nav Mesh Agents not collide? 2 Answers
How do I get a navmesh agent to stop at the edge of a collider? 0 Answers
OnTriggerEnter not activating with NavMesh movement 2 Answers
No player is colliding with enemy even with capsule collider !!! Please me help me. 0 Answers