From 9fda8cc86f5f0c28acf11f71c6adf8552cf47d24 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 14 Apr 2024 20:57:25 +0200 Subject: [PATCH] Configure `Hunter`'s `CollisionArea` layer and mask --- behaviours/hunter.tscn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/behaviours/hunter.tscn b/behaviours/hunter.tscn index f206d8c..42fcfc7 100644 --- a/behaviours/hunter.tscn +++ b/behaviours/hunter.tscn @@ -9,6 +9,9 @@ radius = 100.0 script = ExtResource("1_3bmd5") [node name="DetectionArea" type="Area2D" parent="."] +collision_layer = 0 +collision_mask = 24 +monitorable = false [node name="Shape" type="CollisionShape2D" parent="DetectionArea"] shape = SubResource("CircleShape2D_kxb8e")