I have 2 warrior company(army) that moves , 1 enemy and 1 player. The enemy moves with nav mesh agent and so does the player. When they intersect , they start pushing each other away instead of phasing through one another to start fighting. Is there anyways to make them walk through one another ?
Is it possible to make 2 nav mesh agent gameobjects move through each other instead of pushing each other ?
Maybe you can make this gameobject’s colliders ignore each other by scripting this:
Physics.IgnoreCollision(gameobject1.collider , gameobject2.collider);