Hi Mecanim devs!
A question about performance. I have a complex dog character (generic rig) with separate animations intended for body, tail, ears, eyelids etc. Of course, these are handled by different layers in my animator controller. The layers use masks and are set to ‘override’. I’m using nested blend-trees on most layers, so at any given point in time, a large number of animation clips (20? 30?) might run on the character.
Here’s the question: Is the performance cost of each additional layer the same as for the base layer, or does it get smaller because of the layer mask? For instance, the eyelid-layer only controls 4 deformation bones (out of ca. 90) - does this mean that the cost of using it is only about 5% of that of the base layer (assuming that each layer plays the same number of blended clips)?
(I checked out the Mecanim Performance and Optimization tips, but they are not specific enough. I’m asking because I need to know if I should keep the number of layers as low as possible or if I can be generous with them.)
Thanks, Wendelin