Hello.
I have next game play: I have a fish (player) that can move up and down by player controller. it has an idle swim animation (moving its tale). I added two more animation for moving up and down (same animation but with different z angle). I created changing animation in animator via vertical speed. Till now was all right. However when I wanted to add Hit animation (from enemy fishes) I met some problems.
I created same animation as moving up/down/idle and added some changing in color and added it to each swimming mode with a trigger hit. course changing color take some time it keep my fish be in angle of HIt animation while I already moving it to other position.
obviously it is wrong way.
I searched on net but didn’t find the solution. I thought blend tree could help me, but as I understand it help with speed variables but not with other triggers (or I wrong?).
So what I need is to add changing color to swimming animation with different angles, while hit is happening.
Thanks for any help.