diff --git a/data/character/character.tscn b/data/character/character.tscn index 73b7b4d..0b78904 100644 --- a/data/character/character.tscn +++ b/data/character/character.tscn @@ -53,6 +53,7 @@ corner_radius_bottom_right = 10 corner_radius_bottom_left = 10 [node name="character" type="CharacterBody2D"] +collision_layer = 3 script = ExtResource("1_qlitf") [node name="camera" type="Camera2D" parent="."] @@ -70,6 +71,7 @@ libraries = { [node name="raycast" type="RayCast2D" parent="body_pivot"] target_position = Vector2(0, -100) +collision_mask = 2 [node name="body" type="Sprite2D" parent="body_pivot"] scale = Vector2(0.2, 0.2) diff --git a/data/objects/stone.tscn b/data/objects/stone.tscn index 644e498..a9a005f 100644 --- a/data/objects/stone.tscn +++ b/data/objects/stone.tscn @@ -35,6 +35,7 @@ _data = { } [node name="stone" type="StaticBody2D"] +collision_layer = 3 script = SubResource("GDScript_d7f4g") [node name="collision" type="CollisionShape2D" parent="."] diff --git a/data/objects/tree.tscn b/data/objects/tree.tscn index 9e00648..eb6538f 100644 --- a/data/objects/tree.tscn +++ b/data/objects/tree.tscn @@ -35,6 +35,7 @@ _data = { } [node name="tree" type="StaticBody2D"] +collision_layer = 3 script = SubResource("GDScript_si3d7") [node name="collision" type="CollisionShape2D" parent="."]