| name | leap |
| description | Performs one big bounding leap forward via a sequence with a deep crouch, a high root.y arc, and a far-forward root translation. Use when a command mentions leap, bound, big jump forward, take a flying leap, spring forward, or pounce ahead. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["bend-knees","move-leg","move-arm"] |
leap
A single, committed bound forward — deep crouch, explosive launch, long airtime, far landing. One big root.y arc plus a large forward root.z step.
How
- Use a
sequence with loop:false (frame root is ABSOLUTE — set a far z; compute forward from state.position+state.faceDeg, here origin facing +Z). The engine clamps to room bounds.
- Three beats: deep crouch (
root.y:-0.25, knees deeply bent), big air (root.y:~0.55, knees tucked, far z), land (root.y:0, legs absorb then rest). Swing the arms up at launch for flair.
durationMs ~1100–1400.
Example
- "take a big leap forward" (at x:0,z:0,faceDeg:0) ->
{"durationMs":1200,"say":"Geronimo!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[55,0,0],"LeftLeg":[90,0,0],"RightUpLeg":[55,0,0],"RightLeg":[90,0,0]},"root":{"y":-0.25,"z":0}},{"t":0.45,"pose":{"LeftUpLeg":[80,0,0],"LeftLeg":[90,0,0],"RightUpLeg":[80,0,0],"RightLeg":[90,0,0],"LeftUpperArm":[0,0,-90],"RightUpperArm":[0,0,90]},"root":{"y":0.55,"z":1.3}},{"t":1,"pose":{"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"LeftUpperArm":[0,0,90],"RightUpperArm":[0,0,-90]},"root":{"y":0,"z":2.2}}]}}