Question by
IamTabu316 · Oct 29, 2018 at 12:10 AM ·
enemycollider2dontriggerenter2denemydamage
How to Disable Enemy's Collider When Stomped On?
So in my 2D Platformer I have an enemy that will fly towards you within a certain range and I have a box on my player's feet that if it contacts the enemy it will destroy the enemy and the script to destroy the enemy is on the box. But when I jump on it the Player takes damage and kills the enemy. Is there a way to make it so it will only kill the enemy without the player taking damage?
Comment