| name | jumping-jacks |
| description | Does jumping jacks in place via a looping sequence that springs the legs out and arms overhead, then back together, with a small root.y hop. Use when a command mentions jumping jacks, star jumps, do jacks, or the classic arms-and-legs-out exercise. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["move-leg","move-arm","bend-knees"] |
jumping-jacks
The classic exercise: hop the feet apart while throwing the arms overhead, then hop back together. A looping sequence combining leg abduction, arms overhead, and a small root.y hop (which returns to 0, so looping is safe).
How
- Use a
sequence with loop:true (or a count). OUT frame: abduct the legs (LeftUpLeg:[0,0,150],RightUpLeg:[0,0,-150]) and raise arms overhead (LeftUpperArm:[0,0,-90],RightUpperArm:[0,0,90]) with a small hop (root.y:0.1). IN frame: legs and arms back to rest, root.y:0.
durationMs ~700–900 per rep. No moveTo (it stays put).
Example
- "do jumping jacks" ->
{"durationMs":800,"say":"And one, and two!","sequence":{"loop":true,"frames":[{"t":0,"pose":{"LeftUpLeg":[0,0,180],"RightUpLeg":[0,0,180],"LeftUpperArm":[0,0,90],"RightUpperArm":[0,0,-90]},"root":{"y":0}},{"t":0.5,"pose":{"LeftUpLeg":[0,0,150],"RightUpLeg":[0,0,-150],"LeftUpperArm":[0,0,-90],"RightUpperArm":[0,0,90]},"root":{"y":0.1}},{"t":1,"pose":{"LeftUpLeg":[0,0,180],"RightUpLeg":[0,0,180],"LeftUpperArm":[0,0,90],"RightUpperArm":[0,0,-90]},"root":{"y":0}}]}}