Animation
Learn Unity’s animation tools to elevate AR immersion with dynamic motion and visual enhancements.
We'll cover the following
Introduction
Animation is a crucial element in creating immersive and engaging games in Unity. With Unity’s powerful animation tools, we can bring characters, objects, and environments to life by adding movement, expression, and personality.
In this lesson, we’ll explore what animation is in Unity, how it works, and the step-by-step process of creating animations for our game.
What is animation in Unity?
Animations refer to baking motions into our game’s objects and environments. With Unity’s animation tools, we can create animations for almost any aspect of our game, such as camera angles, particle effects, character animations, props, and landscape.
We can animate objects by changing their position, rotation, and scale over time. In Unity, we can create animations by either animating the properties of a GameObject directly or by creating an Animator Controller. Animator Controller is a powerful tool that enables us to create complex animations that react to user input, physics, and other game events.
Unity’s animation system is based on a concept called
In Unity, we can set keyframes manually by adjusting the object’s properties in the “Inspector” window, or by using the “Animation” window to create and edit animations using a timeline-based interface.
Creating animations in Unity
To create an animation in Unity, follow the steps given below:
Getting started with a new scene:
Create a new scene.
Add a cube to the new scene by selecting “GameObject” > “3D Object” > “Cube” from the top menu.
Crafting our first animation clip:
With the cube selected, open the “Animation” window (“Window” > “Animation” > “Animation”).
Get hands-on with 1400+ tech skills courses.