Godot Version: 4.4 Stable
Hello! I’m new to Godot and having a lot of trouble understanding how Layers and Masks work. In this project, i want to set up my character’s attack area, so i added the function func on_detection_area_body_entered(body: Node2D) -> void:
to detect when an enemy enters its collision area. However, for some reason, it’s not detecting anything at all… The video shows exactly how the code and the Layers/Masks configuration are set up.
Link video: https://youtu.be/wiQN5CYDAzI