| name | swagger |
| description | Swaggers forward with a cocky shoulder-rolling side-to-side sway via a translating sequence. Use when a command mentions swagger, strut cockily, walk with attitude, shoulder roll walk, or a confident swaying walk. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["walk","move-torso"] |
swagger
A cocky walk with the torso rolling side to side. The sway needs animation, so this is a translating sequence.
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.
- Alternate the torso side-lean (
Spine Z ±10) and drop one shoulder each beat while z advances.
durationMs ~2800.
Example
- "swagger over" ->
{"durationMs":2800,"say":"Yeah, that is right.","sequence":{"loop":false,"frames":[{"t":0,"pose":{"Spine":[0,0,10],"Chest":[-4,0,8],"LeftUpperArm":[0,0,72]},"root":{"z":0.7}},{"t":0.5,"pose":{"Spine":[0,0,-10],"Chest":[-4,0,-8],"RightUpperArm":[0,0,-72]},"root":{"z":1.5}},{"t":1,"pose":{"Spine":[0,0,0],"Chest":[0,0,0]},"root":{"z":2.4}}]}}
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.