Change object detection to it's own layer so it doesn't crash on non-objects
This commit is contained in:
@ -35,6 +35,7 @@ _data = {
|
||||
}
|
||||
|
||||
[node name="stone" type="StaticBody2D"]
|
||||
collision_layer = 3
|
||||
script = SubResource("GDScript_d7f4g")
|
||||
|
||||
[node name="collision" type="CollisionShape2D" parent="."]
|
||||
|
@ -35,6 +35,7 @@ _data = {
|
||||
}
|
||||
|
||||
[node name="tree" type="StaticBody2D"]
|
||||
collision_layer = 3
|
||||
script = SubResource("GDScript_si3d7")
|
||||
|
||||
[node name="collision" type="CollisionShape2D" parent="."]
|
||||
|
Reference in New Issue
Block a user