Topic was automatically imported from the old Question2Answer platform.
Asked By
cobracon
In the game I’m making I have melee combat. Right know I have 4 collisions to detect the enemies and to see if attack animation is playing but because this is in the player script I don’t know how to destroy the enemy.
It should be. You need to go into the signals part of the node tab on the right side of the window, and then connect your area2d on body entered node to a script, and put body.queue_free()