diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-22 07:03:57 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-22 07:03:57 -0400 |
commit | 12943209f25236a06f0a1c3ddcb62c83f7172827 (patch) | |
tree | 678eab684f5e73134ef2fd1e2e946d59088a81ca /character | |
parent | 62f864004c6cfcbdb919e5e27a6ddaaaa8c4acc9 (diff) | |
download | godot_wildjam_49-12943209f25236a06f0a1c3ddcb62c83f7172827.tar.gz godot_wildjam_49-12943209f25236a06f0a1c3ddcb62c83f7172827.zip |
Modify the fog and blur to better hide the pop in
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 ) |