Time for action – you spin me right round
Let's correct that little issue of the nurse careening sideways and backwards through the hallway by adding rotation values for the runner
GameObject, to make her face the proper direction.
In the Animation window, go to frame 100. This is 20 frames before our second keyframe.
Click on the little button with the white diamond and plus symbol—the "add keyframe" button—to tell Unity to remember the runner's position/rotation/scale on this frame.
Go to frame 120.
Enter a
Rotation.y
value of-90
to face the camera down the next hallway.Move the runner down the second hallway just a bit, maybe to
Position.x 6.0
, to make the motion slightly less robotic.Go to frame 220 and add a new keyframe.
On frame 240, rotate the
runner
toRotation.y:-180
to aim it down the third hallway.Keep repeating these steps through the rest of the animation. Set a keyframe 20 frames before the existing one, and then move to the corner keyframe and set the Y rotation. Use
-270
and...