| name | lateral-line-hops |
| description | Hops quickly side to side over a line on two feet, keeping facing, via a looping sequence with small root.y and root.x. Use when a command mentions lateral line hops, side-to-side hops over a line, ski hops, or quick lateral jumps. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["move-leg","bend-knees"] |
lateral-line-hops
Fast little two-foot hops left and right across a line, repeating. Translate root while OMITTING faceDeg so the heading holds.
Composes: move-leg + bend-knees
How
- Use a
sequence with loop:true. Bounce root.y while x shifts side to side and returns to 0; do NOT set faceDeg.
- Short
durationMs per cycle (~900).
Example
- "do lateral line hops" ->
{"durationMs":900,"say":"Side to side!","sequence":{"loop":true,"frames":[{"t":0,"pose":{"LeftLeg":[20,0,0],"RightLeg":[20,0,0]},"root":{"y":-0.05,"x":0}},{"t":0.25,"pose":{"LeftFoot":[60,0,0],"RightFoot":[60,0,0]},"root":{"y":0.2,"x":0.3}},{"t":0.5,"pose":{"LeftLeg":[20,0,0],"RightLeg":[20,0,0],"LeftFoot":[90,0,0],"RightFoot":[90,0,0]},"root":{"y":0,"x":0.4}},{"t":0.75,"pose":{"LeftFoot":[60,0,0],"RightFoot":[60,0,0]},"root":{"y":0.2,"x":0.1}},{"t":1,"pose":{"LeftLeg":[20,0,0],"RightLeg":[20,0,0],"LeftFoot":[90,0,0],"RightFoot":[90,0,0]},"root":{"y":0,"x":0}}]}}
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.