walk_cycle
Creates a biomechanically timed walk animation for a built character rig, with planted feet, opposite arm swing, travel or in-place options, and mood presets.
Instructions
Walk a build_character rig with biomechanically correct timing for its age and sex. Feet stay planted and roll heel -> flat -> ball -> toe; legs use two-bone IK; the hips ride an inverted-pendulum arc (low at contact, high at passing); arms swing opposite the legs. Defaults come from gait studies (e.g. adult man 108 steps/min at 1.4 m/s; toddler 154 at 0.86; old age shorter steps). speed m/s, cadence steps/min override them. cycles (default 2) or end. travel=false walks in place (pan the BG). on=2 holds every pose 2 frames (keys become constant). bounce, arm_swing scale the motion (1 = natural; >1 = cartoon); lean adds forward trunk lean (deg). mood (Williams beat chart and character walks): natural | brisk | stroll (16 frames a step) | tired (20, head down, low clearance) | proud (chest out) | happy (double bounce) | sneak (crouched, 24 frames) | heavy (long contact, deep down) | cartoon (8 frames). speed/cadence still override. Returns the self-check: cadence, step length, vertical oscillation, knee flexion, foot slip.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scene": "<scene>",
"character": "<character>"
},
"name": "walk_cycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| end | No | ||
| lean | No | ||
| mood | No | natural | |
| phase | No | ||
| scene | Yes | ||
| speed | No | ||
| start | No | ||
| bounce | No | ||
| cycles | No | ||
| travel | No | ||
| cadence | No | ||
| arm_swing | No | ||
| character | Yes |