-
Book Overview & Buying
-
Table Of Contents
Unity 5.x Animation Cookbook
By :
In a cutscene, we have to synchronize animation of multiple objects in time. This recipe shows how to do it.
To follow this recipe, you will need an animated character and an animated object. You can download the provided example Unity project and go to the Chapter 08 Animating Cutscenes\Recipe 03 Synchronizing animation of multiple objects directory. You can find the Example.unity scene there. If you play the game, you will see a character kicking a soccer ball. Both objects are animated and synchronized. You can find the needed animations in the Animations directory:

Synchronized animation of the ball and a the character kicking it
To synchronize animation of multiple objects, follow these steps: