Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Qws |
My problem:
When the player character (red godot logo) collides with another Godot logo, it must print something in the output console. But the problem is, nothing is happening… I don’t understand why.
Area2D Body-Enters event/signal code:
extends Area2D
func _ready():
print("Area2D ready")
pass
func _on_Area2D_body_enter( body ):
print("yo! Interacting!") #<-- this code is not getting executed when colliding
Godot project: https://drive.google.com/file/d/1sVC7l2V2UjMBvwzhEHSedkpI98jgoB6I/view?usp=sharing