| name | long-jump |
| description | Performs a running-style long jump for maximum forward distance via a sequence with a two-foot takeoff, arms thrown forward, and a far landing. Use when a command mentions long jump, broad jump, jump as far as you can, distance jump, or standing long jump. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["bend-knees","move-leg","move-arm"] |
long-jump
A maximum-distance forward jump — arms swing back then throw forward, two-foot launch, legs reach out to land far. Big forward root.z with a moderate root.y arc.
How
- Use a
sequence with loop:false (frame root is ABSOLUTE — set the largest reasonable forward z; compute forward from state.position+state.faceDeg, here origin facing +Z). The engine clamps to bounds.
- Beats: load (crouch,
root.y:-0.2, arms back), flight (arms forward LeftUpperArm:[90,0,0]/RightUpperArm:[90,0,0], knees tucked, root.y:~0.5, far z), landing (legs reach forward to absorb, root.y:0, then rest).
durationMs ~1300–1600.
Example
- "do a long jump" (at x:0,z:0,faceDeg:0) ->
{"durationMs":1400,"say":"And... jump!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[55,0,0],"LeftLeg":[85,0,0],"RightUpLeg":[55,0,0],"RightLeg":[85,0,0]},"root":{"y":-0.2,"z":0}},{"t":0.4,"pose":{"LeftUpLeg":[80,0,0],"LeftLeg":[90,0,0],"RightUpLeg":[80,0,0],"RightLeg":[90,0,0],"LeftUpperArm":[90,0,0],"RightUpperArm":[90,0,0]},"root":{"y":0.5,"z":1.6}},{"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.6}}]}}