The enemy shield and put spikes and kills
hello good I would like someone to help me solve this problem
my game is platform and is to jump and kill enemies from above, but what I want is that when the enemy is in front of you is stop and a shield with peaks place and if you get takes away lives (changing animation) only you can kill from above when you do not see, in this case behind
if someone helped me would be helpful thanks