Using Avatar mask with non-humanoid?
I have a quadruped character with a rig and lots of animations that I've successfully imported to Unity from Blender. I want to make use of the avatar mask functionality in the animator so I can have a layer of movement animations (like walking and running) and another layer with facial expressions (such as snarling and panting). This all seems like it would be essentially effortless if I were using a humanoid model, but I'm not, and I can't find a way to configure a custom avatar to make use of that avatar mask function. It seems like it wouldn't be so hard to just designate all the face bones as a group so I can create a mask in this way, but so far I've found no way to do this. Help???
Answer by Saso222 · Jan 19, 2018 at 08:21 PM
Hello @CorduroyPony ,
You can use Avatar Masks on non-humanoid Avatars using the "Transform" section of the Inspector when editing an Avatar Mask, just ignore de "Humanoid" section.
Look at this manual page: https://docs.unity3d.com/Manual/class-AvatarMask.html
"Alternatively, if your animation does not use a Humanoid avatar, [...] you can use the Transform method to select or deselect portions of the model’s hierarchy to mask. To do this, you must assign a reference to the avatar whose transform you would like to mask off, then click the “Import Skeleton” button. You will then see the hierarchy of the avatar listed in the inspector. Each bone has a checkbox allowing you to select or deselect parts of the hierarchy to use as your mask."
Your answer
Follow this Question
Related Questions
Avatar Mask doesn't do anything 0 Answers
Avatar mask affects on unselected bones 1 Answer
Disable Avatar Mask 1 Answer