Make 2 enemies not collide with each other and player

If I set up both the enemies with colliders and rigid bodies they don’t collide but my character can push them away then. I can I made my enemies not colliding with each other and the player character?

Thanks for your answer in advance.


Just went into the same problem. Basically you just have to select the “is kinematic” flag on rigidbody 2d, for all the enemies on the same layer. And basically that’s it. If you want to detect collisions, just use another collider on another layer.