Navmesh Agent Collision

Hey guys!

I am using a NavMesh for my level and I have some different enemies that navigate around as NavMesh Agents.

I don’t want them to collide with each other at all. Currently they are getting each other stuck and moving themselves around and it is not ideal.

I have put them on their own Layer and deselected this layer in the Layer Collision Matrix, so I am really not sure why they are still colliding with themselves!

Any advice or input would be very much appreciated!

Thanks guys!

UPDATE:

I set each agent’s Obstacle Avoidance > Quality to NONE… This SEEMS like it worked… but I am not sure if this is the correct solution… as the title of this implies that they will not avoid anything now. lol I could be totally wrong however.

1 Like

https://docs.unity3d.com/Manual/class-NavMeshAgent.html

I suspect that’s in relation to
https://docs.unity3d.com/Manual/class-NavMeshObstacle.html
not other agents

bit of googling suggest adding obstacle component to the agents with “carving off”

Awesome! Thank you! :smile: