How it works...

Animations that have the same number of frames and the same playback speed are synchronized in Unity. All we need to care about is to start them in the same frame. That's why we have the WheelStart animations. We also need to take care of the transitionsif the transitions length differs in both Animator Controllers, the animations can be out of sync.

Get Unity 5.x Animation Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.