Godot Version
4.2
Question
In my godot game an animation on “hat_pos” called crouch will not play.
if rolling == true:
looks.play("Dive")
if recent_x > 0:
hat_pos.play("divingRight")
else:
hat_pos.play("divingLeft")
else:
if dir == 0:
if is_on_floor() and Input.is_action_pressed("Down"):
if crouching == false:
looks.play("crouch")
crouching = true
else:
hat_pos.play("default")
crouching = false
looks.play("idle")
else:
looks.play("Run")
hat_pos.play("default")
if crouching:
print(hat_pos.assigned_animation)
hat_pos.play("Crouch") # RIGHT HERE is what I am trying to play, but it plays "default" instead
if rolling:
velocity.x = roll_speed * recent_x
Any ideas why