Version: 2019.4
Avatar Muscle & Settings tab
Human Template window

Avatar Mask window

There are two ways to define which parts of your animation should be masked:

Humanoid body selection

If your animation uses a Humanoid Avatar, you can select or deselect portions of the simplified humanoid body diagram to indicate where to mask the animation:

Defining an Avatar Mask using the Humanoid body
Defining an Avatar Mask using the Humanoid body

The body diagram groups body parts into these portions:

  • Head
  • Left Arm
  • Right Arm
  • Left Hand
  • Right Hand
  • Left Leg
  • Right Leg
  • Root (denoted by the “shadow” under the feet)

To include animation from one of these body portions, click the Avatar diagram for that portion until it appears as green. To exclude animation, click the body portion until it appears red. To include or exclude all, double-click the empty space surrounding the Avatar.

You can also toggle Inverse Kinematics (IK) for hands and feet, which determines whether or not to include IK curves in animation blending.

Transform selection

Alternatively, if your animation does not use a Humanoid Avatar, or if you want more detailed control over which individual bones are masked, you can select or deselect portions of the Model’s hierarchy:

  1. Assign a reference to the Avatar whose transform you would like to mask.
  2. Click the Import Skeleton button. The hierarchy of the avatar appears in the inspector.
  3. You can check each bone in the hierarchy to use as your mask.
Definiendo un avatar mask utilizando el método del Transform
Definiendo un avatar mask utilizando el método del Transform

Los assets Mask pueden ser utilizados en los Animator Controllers, cuando especifiquen Animation Layers para aplicar el masking en tiempo de ejecución, o los ajustes de importación de sus archivos de animación para aplicar un masking durante la animación importada.

Un beneficio de utilizar Masks es que tienen a reducir la sobre-carga de memoria ya que las partes del cuerpo que no están activas no necesitan sus curvas de animación asociadas. También, las curvas sin utilizar necesitan ser calculadas durante la reproducción que va a tender a reducir la sobrecarga del CPU de la animación.

Avatar Muscle & Settings tab
Human Template window
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961