Adding Camera Animation for a Cutscene

Objective: use the timeline and animation tools to animate the camera.

First we’ll add a new animation track to the timeline.

We want to use this track to animate the over-the-shoulder camera, so we drag that camera from the hierarchy into the new track.

Now we can add animation to this camera by clicking the record button:

While this track is recording, we can select this virtual camera in the hierarchy and move it to create keyframes in the animation track. These are saved positions that the camera will automatically move to as this animation plays. We can move the camera very slightly to make the first keyframe:

Then we slide the white line to the right and move the camera up and right to make another keyframe. If we play back the animation now, it will smoothly transition from one position to the other.

If we want to make changes to the animation, we can double click a keyframe to open up the animation window. The keyframes for just this camera are displayed here.

We can add some extra rotation at this keyframe just by moving it while it’s recording.

We can also lengthen or shorten the animation by dragging the keyframes.

That’s all the basics for making animated movement in Unity! Now this cutscene is coming along quite nicely.

--

--

--

I’m a passionate and talented software engineer seeking an opportunity in game development.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Granting Access to S3

From Private to Public Sector with Tim Groleau, Lead Software Engineer

5 Best Frameworks for Android App Development

Create your Trait, Repository, and Service Class using artisan command.

Flutter Isar Database — The complete crash course — part 1

give an example of a hashCode algorithm ?

Deploy Python-Flask Application to Kubernetes

Cortex Project Updates #57

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Blake Zoeckler

Blake Zoeckler

I’m a passionate and talented software engineer seeking an opportunity in game development.

More from Medium

Greyboxing a top-down space shooter in Unity

Creating Fog in Unity

Unity : Cinemachine and Timeline (Part VII)

More Productive Editor Layout in Unity