| name | run-up-stairs |
| description | Runs quickly up the stairs with fast alternating high steps and a forward lean, via a sequence that raises root.y fast. Use when a command mentions run up the stairs, race up the steps, sprint upstairs, dash up the staircase, or hurry up the stairs. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["move-leg","move-torso","balance-and-posture"] |
run-up-stairs
Fast stair climbing: quick alternating high steps, torso leaning forward, arms pumping, root.y rising fast.
Composes: move-leg + move-torso + balance-and-posture
How
- Use a
sequence with loop:false. Frame root is ABSOLUTE; compute the travel axis from state.position+state.faceDeg (0=+Z, 90=+X). The example assumes origin facing +Z.
- Quick high steps (
UpLeg~75,Leg~80) alternating, Spine+X lean, arms bent; root.y jumps each step.
- Short
durationMs (~1800).
Example
- "run up the stairs" ->
{"durationMs":1800,"say":"Racing up the stairs!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[75,0,0],"LeftLeg":[80,0,0],"Spine":[16,0,0],"RightForearm":[0,0,90],"LeftForearm":[0,0,-90]},"root":{"y":0,"z":0}},{"t":0.33,"pose":{"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"RightUpLeg":[75,0,0],"RightLeg":[80,0,0]},"root":{"y":0.24,"z":0.3}},{"t":0.66,"pose":{"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"LeftUpLeg":[75,0,0],"LeftLeg":[80,0,0]},"root":{"y":0.48,"z":0.6}},{"t":1,"pose":{"LeftUpLeg":[0,0,180],"RightUpLeg":[0,0,180],"LeftLeg":[0,0,0],"RightLeg":[0,0,0],"Spine":[0,0,0]},"root":{"y":0.72,"z":0.9}}]}}
Limits & posture
Keep ≥1 foot grounded except at a jump's airborne apex; stay inside human joint ranges and keep weight over the support — see balance-and-posture.