Animation problem !

Hello guys :). I have a problem related to my animated character in Unity 3D. I followed a professional YouTube tutorial on Unity’s channel(really helpful BTW :wink: ) and then I imported my rigged character, everything worked fine, etc. :). I downloaded the FREE Mecanim-Kit and used the animations coming with that kit to animate my character, just like in the tutorial, and it worked, obviusly :). BTW, this is the tutorial:

My only problem is that I’m working on a horror game, and I want my character to hold a flashlight. So, I made an animation(in Unity with the Animation feature) wich works perfectly fine. When the player presses F, his hand will raise to his chest level, and turn on the flashlight. So my character looks like this:

1605574--97196--$stock-photo-a-close-up-of-a-robber-with-robbery-mask-holding-a-flashlight-isolated-against-white.jpg

However, this is where the problem steps in. The walk animation for the character is similar to a man walking, obviusly. So his hands move by the body back and forth. But I want the character’s hand to freeze, when the flashlight is ON. What do I mean by that? Well I don’t want it to move, I want it to stand still when he’s holding the flashlight. However, the hand keeps bobbling back and forth(when I walk around), because the Walk animation still applies to the hand, that is currently in the position it should be when the flashlight is ON, just like in the picture.

So what I want, is to freeze my character’s hand, so when I walk and the flashlight is ON, the hand won’t move, but it will stand still. I hope you unerstand what I mean, thank you in advance :slight_smile:

put your animation of the guy holding the flashlight on a greater layer than your state machine doing your walking in the animator window, set that layers blendmode to overide, then create an avatar mask of just the flashlight arm and apply it to the new layer.