From the course: Unity 3D: Lunchtime Lessons

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Animating for interactivity

Animating for interactivity - Unity 3D Tutorial

From the course: Unity 3D: Lunchtime Lessons

Start my 1-month free trial

Animating for interactivity

- [Instructor] Hi, today we're going to take a look at interactivity in Unity. We're going to take this refrigerator, and allow you to open and close all the doors by clicking on them. Now this is going to be the first of two parts. In this movie, we're going to look at how to create the animation and animation triggers to do interactivity. And next we will tie it all together with scripting. So let's start off with our objects here. So I've got my refrigerator. And as you can see we've got a door left and right, as well as a drawer. Now the doors open by rotation. The drawer opens by sliding it. In other words, translation. So let's go ahead and open one of the doors and then tie that to a trigger. Now, in order to do this, we need to create what are called animation clips. And we do that in the animation window. We can find that under Window, Animation, Animation. I have mine pinned right here. Now when you…

Contents