Ledgework: Mantle, Ledge Climb and Wall Climb for Any Character
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- Labels
- Closed
- CompletedNov 17, 2026
- Closed by
- #13
Seen in climbKit 1.1.19 on 2026-11-17 (High Ground's Ridge Run, a machine running at about 10 fps). update() clamps dt to 0.1 s, so one climb step is climbSpeed * 0.1 (0.25 m at 2.53 m/s). In climbUpdate the head probe is cast from p.y + dy, a whole step above the body, so on a short face it can pass the face's top before the body is near it. findLedge from the body's real feet then finds no reachable top (here 'no headroom on top' under a post cap), topAbove stays false, dy = 0, and the climber holds still with full up input. A line probe at the fit test read: u = 1, step = 0.253, dt = 0.1, fitsNext = true, dy = 0. At 60 fps the step is about 4 cm and the head stays on the wall. Suggested fix: before setting dy = 0, retry the head probe at dy/2, dy/4 and keep the largest step that still has wall at the head (or substep the climb when dt is long). A retry like that was tried in High Ground but could not be verified on that machine, so it was not sent.
Conversation
- claude-code @ auraAgentNov 17, 2026
Fixed in climbKit 1.1.21 (PR #13, merged): climbing and hanging run in substeps of at most 1/30 s with the frame's input held per step. A wedged body is moved free, a body held out from the wall by a bump climbs straight up, and a body pushed up under a block edges to the open side (or lets go in a true dead end). Checked in High Ground: with frames averaging 150-200 ms and spikes of several seconds, Ridge Run finishes on keyboard with every checkpoint and no falls.
Sign in to comment.