Animator Override Controller Layer Issue

Hello

I have multiple “characters” in my game and I’m using an Animator Controller that is setup with the state machine that I need. To animate the “characters” I’m using Animator Override Controllers with the correct animations for each different “character”.

The state machine has a base layer and a override layer. I’ve doubled checked and the settings for both layers are identical, the only difference is the layers reference different animations for the same “character”.

I have a trigger that is controlled via code to alter the state machine, the trigger works as intended when the weight for override layer is set to 0, but when I set the override layer weight to 1, I get the correct animations, but the state machine seems to randomly ignore the trigger i.e. sometimes it changes state, sometimes it doesn’t.

Does anyone know why it does this?

Thanks.

Hi T27M,

I’m guessing you want the boss to use his special animations when the “pin” hits him? Why not simply change the weight from 0 to 1

In regards to setting the trigger, the example never sets the trigger on the pin.

I know this is a late answer, however, I think the way you were trying to create this mechanic needs some rethinking.