From 91ead7fb5cdc6a7a928bc204989a36c729c70040 Mon Sep 17 00:00:00 2001 From: blujai831 Date: Tue, 1 Apr 2025 12:15:32 -0700 Subject: [PATCH] Make hang state resolve faster --- characters/base/character.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/characters/base/character.gd b/characters/base/character.gd index 75b0caa..923aff1 100644 --- a/characters/base/character.gd +++ b/characters/base/character.gd @@ -295,7 +295,7 @@ func _handle_freeze_lerp_request(delta: float) -> void: global_position = lerp( global_position, _freeze_lerp_target, - 1.0 - 0.01**delta + 1.0 - 0.0001**delta ) if (global_position - _freeze_lerp_target).length() < height*0.03125: global_position = _freeze_lerp_target @@ -1179,7 +1179,7 @@ func _on_hit_state_tick(delta: float) -> void: func _on_hang_state_tick(delta: float) -> void: global_basis = global_basis.slerp( Basis.looking_at(-wall_normal, ground_normal), - 1.0 - 0.01**delta + 1.0 - 0.0001**delta ) if jump_impetus && !_freeze_lerp_requested: force_change_state(&'pull-up')