diff options
author | mikatomik <mikec_2007@hotmail.com> | 2022-09-15 22:42:33 -0400 |
---|---|---|
committer | mikatomik <mikec_2007@hotmail.com> | 2022-09-15 22:42:33 -0400 |
commit | 235ec300a9d556fe02bfda2c9a985be6253f5787 (patch) | |
tree | a9c5814b3dbb6980595a9494817a1ab81b61f4bf | |
parent | 5259e77b0a4488cc131b8c13f36a849adc29af35 (diff) | |
download | game_jam49-235ec300a9d556fe02bfda2c9a985be6253f5787.tar.gz game_jam49-235ec300a9d556fe02bfda2c9a985be6253f5787.zip |
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
-rw-r--r-- | character/fps_controller/fps_controller.tscn | 3 |
1 files changed, 2 insertions, 1 deletions
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"] |