That's, my problem. I'm trying to create a shmup in Godot, so for my bullet scene, I added an area_entered() signal pointing to a function that...
1) Checks if the body which collided with the bullet is an enemy, so it explodes.
2) Self queue frees the bullet.
Problem is that if two enemies are at same position and bullet reaches them, both are destroyed, when the "right" behavior in a classic shmup would be that only one would explode. Is there a way to deactivate the bullet detection as soon as it reaches the first collision it detects?
Thanks in advance! :)
