Animation
Use Unity's animation systems to animate the models and assets in your application.
Read time 1 minuteLast updated 4 days ago
An animation system provides tools and processes to animate the properties of models and assets. For example, use an animation system to animate transform properties to move and rotate a model, or animate the intensity property to dim a light.
Common tools include importers that import animation and models, editors that create and modify animation, and real-time animation state machines that determine which animation plays and when. Some animation systems also include specialized tools that define a humanoid model and retarget animation between models with the same definition.
Unity has two animation systems with different capabilities and performance characteristics:
Animation system | Description |
|---|---|
| Mecanim animation system | The Mecanim animation system (Mecanim) is a rich and sophisticated animation system that uses the Animator component, the Animation window, and the Animator window. Mecanim is the recommended animation system for most situations. It provides better performance for complex character animation with many animation curves and blending. |
| Legacy animation system | Unity's Legacy animation system (Legacy) has a limited feature set that predates Mecanim. Legacy uses the Animation component and the special Legacy import option in the Rig tab of the Import Settings window. Legacy is less complex for simple animation. Legacy is still available for backward compatibility with old Unity projects. |
Additional resources and examples
- 👥 Community:Join the conversation on Unity Discussions for Animation
- 📖 E-Book:The definitive guide to animation in Unity
- 📖 E-Book:2D game art, animation, and lighting for artists
- 📝 How-to guide:How to troubleshoot imported animations in Unity
- 📝 How-to guide:Tips for building animator controllers in Unity
- 📝 How-to guide:How to animate 2D characters in Unity 2022 LTS
- 📺 Video:How to work with humanoid animations in Unity