| name | side-hop |
| description | Makes a small lateral hop to one side off two feet, keeping facing, via a sequence with a root.y arc and a sideways root.x. Use when a command mentions side hop, hop sideways, little jump to the side, or hop left/right. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["bend-knees","move-leg"] |
side-hop
A quick little sideways hop. Translate root while OMITTING faceDeg so the heading holds.
Composes: bend-knees + move-leg
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. Hop root.y while x shifts to the side; do NOT set faceDeg.
- Short
durationMs (~800).
Example
- "hop to the side" ->
{"durationMs":800,"say":"Side hop!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"LeftUpLeg":[30,0,0],"LeftLeg":[45,0,0],"RightUpLeg":[30,0,0],"RightLeg":[45,0,0]},"root":{"y":-0.12,"x":0}},{"t":0.5,"pose":{"LeftUpLeg":[10,0,0],"RightUpLeg":[10,0,0]},"root":{"y":0.28,"x":0.5}},{"t":1,"pose":{"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"RightUpLeg":[0,0,180],"RightLeg":[0,0,0]},"root":{"y":0,"x":0.9}}]}}
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.