| name | spin-jump |
| description | Jumps straight up while spinning a full 360 via a sequence that arcs root.y and rotates root.faceDeg through a turn. Use when a command mentions spin jump, jump and spin, 360 jump, twist jump, jumping spin, or do a spinning jump. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["bend-knees","turn-and-face","move-leg"] |
spin-jump
A vertical jump combined with a full turn — leave the floor and rotate faceDeg 360° before landing. Combines a root.y arc with a root.faceDeg sweep, in place.
How
- Use a
sequence with loop:false. Animate root.y (crouch → up → land) AND root.faceDeg from the current heading through +180 to +360 (a full turn back to start). Keep x/z fixed.
- Throw the arms out for flair (
LeftUpperArm:[0,0,0],RightUpperArm:[0,0,0] = a T) during the spin, back to rest on landing.
durationMs ~1000–1300.
Example
- "do a spin jump" (at faceDeg:0) ->
{"durationMs":1100,"say":"Ta-da!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[50,0,0],"LeftLeg":[70,0,0],"RightUpLeg":[50,0,0],"RightLeg":[70,0,0]},"root":{"y":-0.2,"faceDeg":0}},{"t":0.5,"pose":{"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"LeftUpperArm":[0,0,0],"RightUpperArm":[0,0,0]},"root":{"y":0.45,"faceDeg":180}},{"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,"faceDeg":360}}]}}