Reader small image

You're reading from  Unity 5.x Animation Cookbook

Product typeBook
Published inMay 2016
Reading LevelExpert
PublisherPackt
ISBN-139781785883910
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Maciej Szczesnik
Maciej Szczesnik
author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik

Right arrow

Using the Animation View to animate the camera


In this recipe, we will create camera animation using Unity's built-in Animation View:

Simple vertigo effect created with the Animation View

Getting ready

We don't need anything fancy for this recipe as we will create it from scratch in Unity. You may need some decorations in the scene though. You can also open the provided example Unity project and go to the Chapter 08 Animating Cutscenes\Recipe 01 Using the animation view to animate the camera directory. You can find an animated Camera (1) game object in the Example.unity scene there. If you play the game, the camera will play an animation.

How to do it...

To create camera animation with the Animation View, follow these steps:

  1. Select the camera you want to animate (you can also add a new camera to the scene).
  2. Open the Animation View (go to WindowAnimation).
  3. Create a new Animation Clip and call it CameraAnimation.
  4. Make sure the record button is pressed.
  5. Move and rotate the camera to create the desired...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity 5.x Animation Cookbook
Published in: May 2016Publisher: PacktISBN-13: 9781785883910

Author (1)

author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik