Time for action - animate the runner

Let's get that RN RuNning!

  1. Click on the green Y-axis cone to switch into top view. Pan and zoom so that the hallway fills the Scene view.
  2. In the Hierarchy panel, select the runner Game Object.
  3. In the Animation window, click on the Record button.
  4. Name the new animation animRun. A new, reusable animation appears in the Project panel.
  5. Punch in the following values on frame 0:
    • Position.x: 6.5
    • Position.y: 1.2
    • Position.z: -31.5
    Time for action - animate the runner
  6. Click on the little, gray dash symbol to the right of the Rotation.x value. You'll find a small drop-down menu. Choose Add Curves from that list. We're adding curves to the rotation values because ...

Get Unity 3D Game Development by Example 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.