| name | baseball-slide |
| description | Slides into a base baseball-style, one leg extended forward and the other tucked under in a figure-4, leaning back, via a low translating sequence. Use when a command mentions baseball slide, slide into base, pop-up slide, or figure-four slide. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["move-leg","move-torso","balance-and-posture"] |
baseball-slide
A figure-4 slide: lead leg extended, trail leg folded under, body leaning back, carrying forward low.
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.
- Drop and extend the lead leg (
RightUpLeg~85,RightLeg~10) with the trail leg tucked under (folded + turned in), lean back, then recover.
durationMs ~1300.
Example
- "slide into the base" ->
{"durationMs":1300,"say":"Safe!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"RightUpLeg":[55,0,0],"RightLeg":[80,0,0],"LeftUpLeg":[55,0,0],"LeftLeg":[80,0,0]},"root":{"y":-0.3,"z":0.3}},{"t":0.5,"pose":{"RightUpLeg":[85,0,0],"RightLeg":[10,0,0],"LeftUpLeg":[60,0,90],"LeftLeg":[110,0,0],"Spine":[-25,0,0]},"root":{"y":-0.55,"z":1.3}},{"t":1,"pose":{"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"Spine":[0,0,0]},"root":{"y":0,"z":1.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.