Create transitions between states Unity 4.3


show more Creating transitions between states provides you with in-depth training on 3D + Animation. Taught by Adam Crespi as part of the Unity 4.3 Essential Training show less
please wait ...

Creating transitions between states

Now that we've got states created in Mecanim, we can start to make transitions between and eventually script in some kind of interactivity for our character. We can do things like have that transition occur between states depending on character's proximity or tags. Before I get in to that though, I'd like to look at something that's been noticeable and maybe a little nagging in the scene. As you can see, I've got open an any state in the animator with a French door 20 swing. At some point, I had created this animation, and basically what we're seeing is that the default state for that French door number 20 is to swing.

And that's why that door is opening and closing, and opening and closing. Because there is no state set and no transition to, well, anything else, we end up seeing that animation over and over. I'm going to delete this animator controller off the door, as I'm controlling those doors through an activate trigger on a box collider. Now look at my Waiting...

Creating transitions between states
Video duration: 3m 53s 6h 49m Beginner

Viewers:

Creating transitions between states provides you with in-depth training on 3D + Animation. Taught by Adam Crespi as part of the Unity 4.3 Essential Training

Subjects:
3D + Animation Developer
Software:
Unity
Author:
please wait ...