Time for action – how to "handle" Nurse Slipperfoot

You can mess around with each node's Bezier handles by clicking on the dots in the Animation window, selecting a handle style from the right-click menu, and pulling the little gray handles around, provided the keyframes are set to Flat, Broken, or Free Smooth. To correct this animation simply, we're going to apply a boring straight line between all of the key points.

  1. In the Animation window, press Ctrl/command + A to select all of the nodes in the animation.
  2. Right-click/alternate-click on any one of the nodes.
  3. Navigate to Both Tangents | Linear to flatten the curves between the nodes.
  4. Test your game.

That's better! Nurse Slipperfoot's still not facing the right direction as she runs, but at least ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.