How to make enemy avoid others enemies with navmesh? And enemy ai problem.

I would like tha the enemies avoid each others when following the player.
And is there any way i can stop enemy from climb but allow them to get down. Because my enemy don’t have much speed to climb (so there i want them to find a path arround the climb) but because of that i can’t generate navmesh on climbs, so if i get down the climb the enemy it will find again a path arround when he could just get down. Is there any way to stop him from climb but allow to get down?

2 Answers

2

I have the same issue!

Navmesh agents do work as obstacles as default based on settings Quality and Priority

For the second part i see you have two options. make it a one way jump between two separate nav meshes


Or setup second mesh on the climb and disable and enable it based on the position of enemy… probably some triggers, depends on your scene.