I am making a 2D sidescrolling game. In the main scene, I have a KinematicBody2D called Player as my player and in a second scene I have an Area2D as my bullet called Bullet.
Shooting the bullet and deleting it when it goes offscreen works, but I tried adding a second kinematic body with a collision body and printing "Entered: [body name]" onto the console. However, when starting the game it prints "Entered: Player" and when shooting into the second KinematicBody2D, it does nothing.
Bullet function for collision detection:
func _on_Bullet_body_entered(body):
print("Entered: ", body.name)