| name | carioca |
| description | Performs the carioca grapevine running drill, crossing the trail leg in front and behind with hip rotation, keeping facing, via a translating sequence. Use when a command mentions carioca, karaoke drill, grapevine run, crossover footwork drill, or quick lateral hip-twist steps. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["walk","move-torso"] |
carioca
A quick lateral agility drill: cross one leg over, open, cross behind — with the hips rotating. Translate root while OMITTING faceDeg so the heading holds.
Composes: walk + move-torso
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. Step x sideways; do NOT set faceDeg.
- Alternate a crossing leg lift (
UpLeg~40,Leg~30) with a torso twist (Spine Y ±20).
durationMs ~2400.
Example
- "do the carioca" ->
{"durationMs":2400,"say":"Carioca!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[40,0,0],"LeftLeg":[30,0,0],"Spine":[0,20,0]},"root":{"x":0.5}},{"t":0.33,"pose":{"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"Spine":[0,-20,0]},"root":{"x":1}},{"t":0.66,"pose":{"RightUpLeg":[40,0,0],"RightLeg":[30,0,0],"Spine":[0,20,0]},"root":{"x":1.5}},{"t":1,"pose":{"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"Spine":[0,0,0]},"root":{"x":2}}]}}
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.