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

Visual Studio Code: GIT integration

How asking “Can I do that for myself?” made me more T Shaped

Fullstack CMS with NextJS and AgilityCMS

Do Developers Influence Technology Adaptation?

Introducing Pipedream

January 2022 Guild Update and WAX NFT Repacks Launch

2D Space Shooter 5: Points!

In this article, we will talk about the Cronos network, as one of the most advanced IBC projects.

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

Building A Stealth Game — Using The Mouse For Movement

3D Survival FPS Game

Implementing a Common Scenario (Loot Chest) with Timeline in Unity 2020

Simple Player Movement in Unity 2.5D