i have animation blending working well, however, some animation are only meant to be played for a limited time. For example, I have a main animation of walking (controls both upper and lower body), and a secondary animation of the player waving hello with his upper body only. I can walk, start the wave animation, blend them together, and stop the wave animation when i want just fine.
The problem when stopping the secondary animation (both with enable = false and animation.Stop()), the arms just “snaps” back to the main animation; they don’t come back down smoothly. How can i smoothly get the arms to come back to where they should be now that the “main” animation is in complete control again? I want to cross blend them, but cross blending doesn’t seem to work in this instance since the 2 animations are on 2 different layers.
any ideas?
you could try blending the weight to zero
do you mean, when i set up the animation before i start to blend, set all layers to be the same? If i do that, wouldn’t that be the same as playing a new animation, as in no blending would happen?
i tried to use the blend method when stopping the secondary animation…there was no change. 
Nope thats not quite what I meant.
I assume you have layers set-up so that the wave will override the arm part
If you blend the wave animation to weight 0 over a second or so, it should remove all wave animation over that time
Oh, okay, I see what you mean. I changed the layer when the wave animation was finished, and cross blended it, and it worked! Thanks for your help. (i just need to make sure i change the layer back to the proper value so i can repeat the process.)
edit: for the animations i need, i don’t need a separate layer. I now set them to the default layer (layer 0) from the start and i get the desired effects without changing any of the original code. The animation is probably still active even though i dont see it anymore…so i need to make sure i dis-activate it once its done blending.
I still got a lot to learn about this animation stuff…
Animations can be a bit of a pain to deal with.
The help just isnt that useful/intuitive from experience.
In fact I still have a handful of animation problems to resolve that im ignoring for now.