| name | slide |
| description | Slides feet-first along the ground (e.g. under something or into a spot) then recovers, via a low translating sequence. Use when a command mentions slide, slide feet first, slide along the floor, power slide, or slide under something. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["move-leg","move-torso","balance-and-posture"] |
slide
Drop low and extend the legs forward to slide along the ground, then stand back up.
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.
- Beats: drop (crouch,
root.y-0.3), extend legs forward and lean back to slide (root.y-0.6, z carries), recover to rest.
durationMs ~1300.
Example
- "do a slide" ->
{"durationMs":1300,"say":"Sliiide!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[55,0,0],"LeftLeg":[80,0,0],"RightUpLeg":[55,0,0],"RightLeg":[80,0,0]},"root":{"y":-0.3,"z":0.2}},{"t":0.5,"pose":{"LeftUpLeg":[80,0,0],"LeftLeg":[20,0,0],"RightUpLeg":[80,0,0],"RightLeg":[20,0,0],"Spine":[-20,0,0]},"root":{"y":-0.6,"z":1.2}},{"t":1,"pose":{"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"Spine":[0,0,0]},"root":{"y":0,"z":1.8}}]}}
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.