Up until now, I've been using Area2D to handle collisions with
_on_Area2D_area_entered, as well as ray casting. Also, I understand how the enemy might get the player location to launch it's own homing missile (there is only one player). However... How would you handle getting the enemy's location, especially when there might be multiple enemies on the screen? The problem is melting my brain, could really use some help. No need for an exact solution, pseudo code and the appropriate functions would be extremely helpful! Preferably, I'd like to target the closest enemy who is in front of the player.