I am starting with Unity 5 and I am straggling a bit with its 2D collisions. Looking a bit into it I found that there are three types of objects that can be defined: - Static: Just a 2D collider (2D collision box component for example). - Dynamic: 2D collider + 2D rigid body. - Kinematic: 2D collider + 2D rigid body set to kinematic.
And as far as I know they collide this way: Static: Only collides with dynamics. Dynamic: Only collides with statics and kinematics. Kinematic: Only collides with dynamics.
I am trying to make a simple Space Invaders and I am struggling to define the collision types of the different elements (aliens, player, alien bullets and player bullets). I imagine I can set objects to dynamic and disable the gravity to match the correct collision types.
But my question is, for example I want to make a simple game with a few enemies of the same type (instantiating a prefab), and I want those enemies to detect collision with each other. How I am supposed to setup the enemy collision properties to achieve that?
Many thanks in advance!

