Change object detection to it's own layer so it doesn't crash on non-objects

This commit is contained in:
2023-10-07 18:33:55 -07:00
parent 6d4c977c35
commit 63da273c4c
3 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@ _data = {
}
[node name="stone" type="StaticBody2D"]
collision_layer = 3
script = SubResource("GDScript_d7f4g")
[node name="collision" type="CollisionShape2D" parent="."]

View File

@ -35,6 +35,7 @@ _data = {
}
[node name="tree" type="StaticBody2D"]
collision_layer = 3
script = SubResource("GDScript_si3d7")
[node name="collision" type="CollisionShape2D" parent="."]