Skip to content
SFM Compile Club

Animation

SFM Walk Cycle: How to Animate a Character Walking

By SFM Compile Club Editorial Team · · Updated November 5, 2026

A walk is the first thing every animator has to learn, and the first thing that gives them away. Audiences have watched people walk their whole lives, so they spot a wrong walk in half a second — even if they cannot say what is wrong. The feet slide, the hips stay level, the arms swing like pendulums, or the whole body bobs up and down like it is on a trampoline. A good SFM walk cycle is not hard, but it does need a method, and that method is four poses repeated in the right order.

A walk cycle is a loop: the same sequence of poses repeats every two steps, once for the left foot and once for the right. If you build one clean two-step cycle, you can loop it for as long as your character needs to cross the scene.

The Four Poses That Make a Walk

Forget the dozens of frames in a finished walk. You only need four key poses per two steps.

Contact. The heel of the front foot touches the ground, the back foot is about to leave it. The front leg is straight, the back leg is bent, and the arms are at opposite extremes of their swing.

Down. Both feet are on the ground, the body is at its lowest point, and the weight is passing over the front foot. The knees are bent. This is the pose beginners skip, and skipping it is why their walks look like the character is floating.

Passing. The back leg swings past the front leg, the body is at its highest point, and the passing knee is bent. The arms pass the body here.

Up. The body rises onto the toe of the back foot, the front foot is reaching forward, and the character is about to land the next contact pose.

Build those four poses for one step, then mirror them for the other side. That is the whole cycle. Everything else — the arm swing, the head bob, the hip sway — is polish on top of these four.

Set Up the Scene First

Open a session and load a flat map with a clear stretch of ground. A stage map works well because there is nothing to trip over, literally or visually. Add your character and a camera, and place the camera side-on to the direction of travel for your first attempt. A side view is the easiest angle for judging a walk, because you can see both legs clearly. You can move the camera to a three-quarter view later, once the cycle works.

Add a rig before you start posing. Right-click the character in the Animation Set Editor, choose Add Rig, and pick rig_biped_simple. The rig turns dozens of individual bones into a handful of controls: pelvis, hands, feet, and a few spine controls. For a walk, that is exactly what you want. Trying to pose every leg bone by hand is slow and error-prone, and it is the main reason beginners give up on walk cycles.

Set your timeline to 24 frames per second if it is not already, and plan on one full two-step cycle taking about 24 frames — roughly one second. That is a normal walking pace. A slower, heavier character might take 30 frames; a hurried character might take 18. Start at 24 and adjust by feel.

If you are new to posing and keyframes in general, work through the beginner’s guide to what Source Filmmaker is first, and keep the camera and lighting basics in mind when you frame the walk. The walk cycle below uses the same pose-and-keyframe loop, just with more precise poses.

Build the Cycle Pose by Pose

Work in the Motion Editor, and keep the Graph Editor closed for now. You will open it later to smooth things out.

Frame 0 — contact, left foot forward. Move the root (pelvis) control forward and down slightly, place the left heel on the ground with the leg straight, and lift the right heel so only the toe touches. Swing the right arm forward and the left arm back. Press M to keyframe the root, both feet, and both hands.

Frame 6 — down. Move the playhead to frame 6. Lower the pelvis by a small amount, bend both knees, and bring the right foot flat on the ground beside the left. The arms should be close to the body here. Keyframe again.

Frame 12 — passing. Move to frame 12. Raise the pelvis to its highest point. The left leg is now the supporting leg, straight and under the body. The right knee is bent and swinging forward past the left leg. The arms have swapped sides. Keyframe.

Frame 18 — up, then contact on the other side. Move to frame 18. The right heel is about to touch down. Lower the pelvis slightly, extend the right leg forward, and lift the left heel. Keyframe. At frame 24, copy the frame 0 pose but with the feet swapped, and keyframe it. That frame 24 pose is the start of the next cycle, which is what makes the loop seamless.

Play it back. It will look rough — that is normal. The structure is there; the smoothness comes next.

Make the Character Actually Move Forward

A walk cycle that stays in one place is a treadmill. To travel, the root control must move forward through the shot.

Select the root transform in the Animation Set Editor. In the Graph Editor, set a keyframe at frame 0 where the character starts, then move the playhead to the end of the shot and move the root forward to where the character should finish, and set another keyframe. SFM will move the root in a straight line between them. That sounds right, but a perfectly straight line looks wrong, because a real body speeds up and slows down slightly with each step. Open the root’s curve in the Graph Editor and add a tiny bit of easing — a gentle wave rather than a ruler-straight line.

Now the hard part: the feet must not slide. Watch the contact foot at each keyframe. When a foot is on the ground, it should stay in exactly one spot until it lifts. If the foot drifts forward while it is supposed to be planted, the root is moving too fast for the leg poses. Fix it by either slowing the root down or moving the contact poses further apart. This is fiddly, and it is the step most people rush. Take the time. A walk with sliding feet looks worse than a walk with stiff arms.

A practical trick: use the “Lock Transforms” option to lock a planted foot to the ground while you adjust the pelvis. Select the foot control, lock it, move the pelvis, and the leg will bend naturally instead of dragging the foot along.

Smooth It in the Graph Editor

Now open the Graph Editor (F4) and look at the curves for the pelvis height. A good walk has a clear rhythm: down at the down pose, up at the passing pose, down again, up again. If the pelvis curve is a flat line, the character is gliding. If it is a wild zigzag, the character is bouncing. You want a gentle, regular wave — about two waves per cycle.

Check the arm curves too. The arms should swing in opposition to the legs: left arm forward when the right leg is forward. If both arms swing together, the character looks like a marching toy soldier. Keep the elbow slightly bent at all times; a straight arm reads as stiff even when everything else is right.

Finally, add the head. The head should stay mostly level, with a tiny counter-bob against the pelvis. A head that bobs up and down in sync with the body looks like nodding. A head that stays dead still looks like a mannequin. A millimetre of movement in the right direction is enough.

Common Walk Cycle Mistakes

  • No down pose. Without the low point, the walk floats.
  • Feet sliding. The planted foot must stay planted. Slow the root or spread the poses.
  • Both arms together. Arms oppose legs, always.
  • Too fast. Twenty-four frames per cycle is a starting point, not a rule. A heavy character walks slower.
  • Perfect symmetry. Real walks are slightly uneven. Make one step a frame longer, or one arm swing a touch higher, and the walk comes alive.

FAQ

How many frames should an SFM walk cycle be?
About 24 frames for a normal walk at 24 frames per second. Heavier or slower characters can take 28 to 32 frames; a brisk walk can take 18 to 20.

Why do my character’s feet slide in SFM?
The root is moving at a different speed from the legs. Either slow the root’s forward motion or move the contact poses further apart, and lock the planted foot while you adjust the pelvis.

Should I use a rig for a walk cycle?
Yes. The simple biped rig (rig_biped_simple) gives you pelvis, hand, and foot controls, which is exactly what a walk needs. Posing raw bones is much slower.

Can I reuse a walk cycle for another character?
Often, yes, if the characters are similar in size and use the same rig. SFM lets you export and import animation, and sequences can be transferred between compatible models — but check the feet, because a different leg length will need the poses adjusted.