Question by
interestingashu82 · Aug 03, 2019 at 02:02 PM ·
2d-platformerenemydamage
2d platformer: Why can't Ellen deal damage to enemy by squishing it?
Hi, I'm new to Unity so my question might be elementary.
In the 2d platformer kit we are taught that any object with a damager component can deal damage to an object with damageable component. Fair enough, but since the main character Ellen has a damager component with the hittable layers include the Enemy layer, why can't she damage the enemy by jumping on it and squishing it instead of a melee or bullet attack?
Comment
Your answer
Follow this Question
Related Questions
My enemy don't take damage. 1 Answer
How can I do an Enemy while He's walking his HEAD always see the Target? 1 Answer
Unity 2D-- Enemy only taking damage when player is moving 0 Answers
How to have multiple enemies (currently having to kill them in order) 1 Answer
Stationary Enemies from Tilemap 0 Answers