Ladder behavior tweak.

This commit is contained in:
Dustin 2025-06-18 21:26:21 -07:00
parent 6ed2e86806
commit 8de3fc1060

View File

@ -477,7 +477,11 @@ func _state_process_physics_climb():
# if animation_index > 0:
# animations.stop()
else:
return request_state_change.call_func('idle')
## Force downward to the floor, can't do a new floor check without first moving
parent.move_and_collide(Vector2(0,100.0))
if parent.is_on_floor():
#parent.move_and_slide(Vector2(0,100.0),Vector2.UP)
return request_state_change.call_func('land')
if _wants_jump: