Locomotion · Full body
Walk & turn
Walk & turn is a beginner-level locomotion movement targeting the full body, written in Posecode, a small open-source language that capable language models can use to describe human movement as text. Authored joint targets and reach-IK solves are constrained to Posecode's configured per-axis bounds. Those bounds constrain the visualization, but they do not certify that a complete movement is safe or clinically correct. This page documents a code example; it is not exercise instruction.
▶ Open Walk & turn in the playground →Movement phases
Phase cues are display-only coaching text. The executable joint and contact directives in the source below determine the animation.
- Step right0.7s · flow Walk forward: right foot leads, opposite arm swings through
- Step left0.7s · flow Left foot leads, arms swap: keep travelling forward
- About-face1s · flow Plant and turn a half-turn to face back the way you came
- Walk back0.7s · flow Walk back toward the start
- Arrive & square up1s · settle Arrive home and turn to face front again
The .posecode source
This is the exact text used by the linked playground animation: phases and joint angles, not 3D transforms.
posecode exercise "Walk & turn"
rig humanoid
pose start = standing
step "Step right" 0.7s flow:
hip_right: flex 30
knee_right: flex 15
hip_left: extend 12
shoulder_left: flex 25
shoulder_right: extend 20
travel: 0 0.34
pin: foot_left floor
cue "Walk forward: right foot leads, opposite arm swings through"
step "Step left" 0.7s flow:
hip_left: flex 30
knee_left: flex 15
hip_right: extend 12
shoulder_right: flex 25
shoulder_left: extend 20
travel: 0 0.66
pin: foot_right floor
cue "Left foot leads, arms swap: keep travelling forward"
step "About-face" 1s flow:
hips: flex 0
knees: flex 0
shoulders: flex 0
turn: 180
travel: 0 0.66
reach: foot_left floor
reach: foot_right floor
cue "Plant and turn a half-turn to face back the way you came"
step "Walk back" 0.7s flow:
hip_right: flex 30
knee_right: flex 15
hip_left: extend 12
shoulder_left: flex 25
shoulder_right: extend 20
turn: 180
travel: 0 0.34
pin: foot_left floor
cue "Walk back toward the start"
step "Arrive & square up" 1s settle:
hips: flex 0
knees: flex 0
shoulders: flex 0
turn: 360
travel: 0 0
reach: foot_left floor
reach: foot_right floor
cue "Arrive home and turn to face front again"
repeat 2