Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | chickencorner |
Why doesn’t my player get detected by the enemy’s Area2D body entered function? I’ve tried making the Area2D collision larger, but at no points does it it detect the players body
Code:
func _on_Area2D_body_entered(body):
print(body.name)
Bouncer is the enemy’s name (another will spawn), KinematicBody2D is the icon’s name