From 235ec300a9d556fe02bfda2c9a985be6253f5787 Mon Sep 17 00:00:00 2001 From: mikatomik Date: Thu, 15 Sep 2022 22:42:33 -0400 Subject: Fix bug involving ladder Make collision detector on FPS_Controller a bit shorter so that the ladder in the bridge cannot be climbed from the back side of the wall --- character/fps_controller/fps_controller.tscn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/character/fps_controller/fps_controller.tscn b/character/fps_controller/fps_controller.tscn index d1bf6be..ba047b4 100644 --- a/character/fps_controller/fps_controller.tscn +++ b/character/fps_controller/fps_controller.tscn @@ -8,6 +8,7 @@ height = 2.0 [sub_resource type="CapsuleShape" id=2] radius = 0.374691 +height = 0.0688557 [node name="fps_controller" type="KinematicBody"] script = ExtResource( 1 ) @@ -27,7 +28,7 @@ collision_mask = 2 [node name="ladder_detector" type="Area" parent="."] [node name="CollisionShape" type="CollisionShape" parent="ladder_detector"] -transform = Transform( 1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 0.0169024, -0.58521 ) +transform = Transform( 1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 0.0169024, -0.28562 ) shape = SubResource( 2 ) [connection signal="body_entered" from="ladder_detector" to="." method="_on_ladder_detector_body_entered"] -- cgit v1.2.3