cleaned up some of the posing code

This commit is contained in:
JHDev2006
2025-09-26 12:58:25 +01:00
parent 9eb206d203
commit 11a4b57ac5
4 changed files with 9 additions and 5 deletions

View File

@@ -7,7 +7,9 @@ func enter(_msg := {}) -> void:
player.get_node("CameraCenterJoint/RightWall").set_collision_layer_value(1, false)
func physics_update(delta: float) -> void:
if player.is_posing: return
if player.is_posing:
player.velocity.x = 0
return
player.input_direction = 1
player.can_run = false
player.normal_state.handle_movement(delta)