So i want the player to not push the enemy however i have these two scripts on the enemy, one requires a trigger to bounce enemy and one requires a Collider 2d to destroy and respawn enemy on touch, so I have 2 colliders one triggered and one not triggered. is there a way i can get the play NOT to push the enemy but still die when touching?
If you go to
Edit > Project Settings > Physics2d
At the bottom there are layers you can choose to interact with one another or not.
If you make different Layers, you can tell which groups of colliders to interact and which groups of colliders will ignore each other.