diff options
Diffstat (limited to 'character')
-rw-r--r-- | character/fps_controller/fps_controller.gd | 4 | ||||
-rw-r--r-- | character/fps_controller/fps_controller.tscn | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/character/fps_controller/fps_controller.gd b/character/fps_controller/fps_controller.gd index 8d5af12..54f9dbe 100644 --- a/character/fps_controller/fps_controller.gd +++ b/character/fps_controller/fps_controller.gd @@ -79,12 +79,10 @@ func handle_collision(): var col_pos = collision.position - collider.transform.origin collider.add_force(col_force_vec, col_pos) - func _on_ladder_detector_body_entered(body): if body.is_in_group("ladder"): is_climbing = true - func _on_ladder_detector_body_exited(body): if body.is_in_group("ladder"): - is_climbing = false
\ No newline at end of file + is_climbing = false diff --git a/character/fps_controller/fps_controller.tscn b/character/fps_controller/fps_controller.tscn index e803e5b..ab55a11 100644 --- a/character/fps_controller/fps_controller.tscn +++ b/character/fps_controller/fps_controller.tscn @@ -20,7 +20,7 @@ shape = SubResource( 1 ) [node name="Camera" type="Camera" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.30045, 0 ) -far = 5000.0 +far = 20000.0 [node name="RayCast" type="RayCast" parent="Camera"] cast_to = Vector3( 0, 0, -3 ) |