No behaviour change (a 1180-frame scripted trace is identical before and
after, and all headless tests pass).
- Renames: MAX_SECS_TO_UNSTICK -> HOLD_TIME (it times holds, hops and
lips too), HOP_MAX_HEIGHT -> HOP_REACH (also sideways/down),
ROTATE_TO_WALL_SPEED -> ROTATE_TO_SURFACE_SPEED, isClimbingLip ->
isHangingOnLip, timeSpentUnstickingLip -> timeSpentOnLip, plus
n/dir -> wallNormal/direction.
- CLIMB_SPEED and CEILING_STICK_SPEED are positive like the other speeds,
with the direction applied where they're used.
- Missing type annotations added (including sprite: Sprite2D).
- Constants and state grouped by feature; magic numbers for sensor depth
and landing pitch named.
- _physics_process split into _update_facing, _update_vertical_movement,
_update_floor_hop, _update_horizontal_movement, _update_wall_sticking
and _update_ceiling_sticking; _finish_wrap split out of _update_wrap.
- _accelerate/_air_steer take delta like the other helpers.
- Stale and vague comments fixed (lip push marked as a fallback, the
resolved note at the top removed, typos).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>