From the course: Cert Prep: Unity Certified Associate Game Developer Animation and Cinematics

Unlock the full course today

Join today to access over 25,200 courses taught by industry experts.

Rotating through update functions

Rotating through update functions

- [Instructor] In this chapter of the course, we're going to look at some lesser known ways of animating objects, here inside Unity. In later chapters, we'll see the classical animation features. The animation window, timelines, cinemachine, all of that really great stuff for creating animations in Unity, we will see that. But here I want to take a look at other ways to animate objects by using script files. That is by using C# code to programmatically animate objects. And to demonstrate this, I've opened up this programmatic animation project that you can see here inside the Unity editor included inside the course exercise files. This scene is composed from three main objects, a delicious looking block of cheese, it looks like a bite has already been taken out of it, a banana, and an olive. And these object on their own are completely static and stationary, they're not doing anything interesting at all. If I would hit…

Contents