Configuring a character's Avatar and idle animation
A feature that makes Mecanim so flexible and powerful is the ability of quickly reassigning animation clips from one character to another. This is made possible through the use of Avatars, which are basically a layer between your character's original rig and the Unity's Animator system.
In this recipe, we will learn how to configure an Avatar skeleton on a rigged character.
Getting ready
For this recipe, you will need the MsLaser@T-Pose.fbx
and Swat@rifle_aiming_idle.fbx
files, which are contained inside the 1362_07_code/character_and_clips/
folder.
How to do it...
To configure an Avatar skeleton, follow these steps:
- Import the
MsLaser@T-Pose.fbx
andSwat@rifle_aiming_idle.fbx
files to your project. ...
Get Unity 5.x Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.