Controlling animations through code adds an extra level of power in building simulations. In this video, learn how to prepare an explode animation for programmatic control.
- [Instructor] In the preceding movie, … we completed our arrow animation for the heart here … and it's looking pretty good. … If I move to the animation tab, for example, … I select the arrows, parent object and press play … on the toolbar, that animation will play. … Now, depending on the version of Unity, … depending on how your scene is set up, … what will happen when you press the play button … here on the toolbar might be slightly different. … But let's take a look at what happens in this case. … I'm going to press play on the toolbar … and as soon as I do that, we enter play mode … and the heart animation, the arrows begin playing, … begin looping and everything is working perfectly … and just as I want it to. … Now what happens if it doesn't work that way for you? … Well maybe it does work this way … but there are some things that you want to change. … You might want to change when this animation plays. … You might want to have more control … over the playback of that animation. …
- Setting up the object hierarchy
- Animating keyframes
- Controlling animation playback
- Creating morph animations
- Adding messages and pop-ups
- Creating interactive isolations with C# scripts