Fixed problem with ducking and the camera

This commit is contained in:
Jakob Feldmann 2022-07-26 19:59:43 +02:00
parent bf40a26afe
commit ad89d8e24f

View File

@ -183,7 +183,7 @@ func _enter_state(new_state, old_state):
anim_statemachine.travel("idling") anim_statemachine.travel("idling")
states.duck: states.duck:
# TODO HA! H! HAAA! # TODO HA! H! HAAA!
parent.scale = Vector2(1.2, 0.5) parent.scale = Vector2(1, 0.5)
anim_statemachine.travel("ducking") anim_statemachine.travel("ducking")
states.jump: states.jump:
anim_statemachine.travel("jumping") anim_statemachine.travel("jumping")