Unity’s animation system allows you to control the range of motion of different bones using Muscles.
Once the Avatar has been properly configured, the animation system “understands” the bone structure and allows you to start using the Muscles & Settings tab of the Avatar’s Inspector. Use the Muscles & Settings tab to tweak the character’s range of motion and ensure the character deforms in a convincing way, free from visual artifacts or self-overlaps.
The areas of the Muscle & Settings tab include:
(A) Buttons to toggle between the Mapping and Muscles & Settings tabs. You must Apply or Revert any changes made before switching between tabs.
(B) Use the Muscle Group Preview area to manipulate the character using predefined deformations. These affect several bones at once.
(C) Use the Per-Muscle Settings area to adjust individual bones in the body. You can expand the muscle settings to change the range limits of each settings. For example, by default, Unity gives the Head-Nod and Head-Tilt settings a possible range of –40 to 40 degrees but you can decrease these ranges even further to add stiffness to these movements.
(D) Use the Additional Settings to adjust specific effects in the body.
(E) The Muscles menu provides a Reset tool to return all muscle settings to their default values.
(F) Buttons to accept any changes made (Accept), discard any changes (Revert), and leave the Avatar window (Done). You must Apply or Revert any changes made before leaving the Avatar window.
Previewing changes
For the settings in the Muscle Group Preview and Per-Muscle Settings areas, you can preview the changes right in the Scene view. You can drag the sliders left and right to see the range of movement for each setting applied to your character:
You can see the bones of the skeleton through the Mesh.
Translate Degree of Freedom (DoF)
You can enable the Translate DoF option in the Additional Settings to enable translation animations for the humanoid. If this option is disabled, Unity animates the bones using only rotations. Translation DoF is available for Chest, UpperChest, Neck, LeftUpperLeg, RightUpperLeg, LeftShoulder and RightShoulder muscles.
Note: Enabling Translate DoF can increase performance requirements, because the animation system needs to perform an extra step to retarget humanoid animation. For this reason, you should only enable this option if you know your animation contains animated translations of some of the bones in your character.
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!