From 24a8f1b156ea92e7b0ad60052521e1430a77e13f Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 30 Dec 2024 11:41:09 +0100 Subject: fix drop through wall bug --- character/character.tscn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'character/character.tscn') diff --git a/character/character.tscn b/character/character.tscn index 7fb9776..4c163cd 100644 --- a/character/character.tscn +++ b/character/character.tscn @@ -25,11 +25,11 @@ shape = SubResource("RectangleShape2D_wfm33") [node name="RayLeft" type="RayCast2D" parent="."] target_position = Vector2(-8, 0) -collision_mask = 256 +collision_mask = 768 [node name="RayRight" type="RayCast2D" parent="."] target_position = Vector2(8, 0) -collision_mask = 256 +collision_mask = 768 [node name="RayUpLeft" type="RayCast2D" parent="."] position = Vector2(-6, 0) -- cgit v1.2.3