| name | stag-leap |
| description | Performs a stag leap, springing forward with the front knee bent (stag shape) and the back leg extended, via a sequence with a root.y arc and forward root.z. Use when a command mentions stag leap, stag jump, bent-knee leap, or deer-style leap. |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["move-leg","move-arm","balance-and-posture"] |
stag-leap
A forward leap where the lead knee folds into a stag shape and the trailing leg reaches back.
Composes: move-leg + move-arm + balance-and-posture
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.
- Apex: front leg bent (
RightUpLeg~90,RightLeg90), rear leg back (LeftUpLeg-30), root.y~0.5 with z.
durationMs ~1200.
Example
- "do a stag leap" ->
{"durationMs":1200,"say":"Stag leap!","sequence":{"loop":false,"frames":[{"t":0,"pose":{"RightUpLeg":[55,0,0],"RightLeg":[70,0,0]},"root":{"y":-0.15,"z":0.3}},{"t":0.5,"pose":{"RightUpLeg":[90,0,0],"RightLeg":[90,0,0],"LeftUpLeg":[-30,0,0],"LeftLeg":[20,0,0],"LeftUpperArm":[0,0,0],"RightUpperArm":[0,0,0]},"root":{"y":0.5,"z":1.2}},{"t":1,"pose":{"RightUpLeg":[0,0,180],"RightLeg":[0,0,0],"LeftUpLeg":[0,0,180],"LeftLeg":[0,0,0],"LeftUpperArm":[0,0,90],"RightUpperArm":[0,0,-90]},"root":{"y":0,"z":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.