Animations and layers

Hi everyone!

I am struggling with a character animation… I want to play 2 animations at once, the movement of the arms, which is a up and down animation, set to “clamp-forever” mode which position to be displayed is then calculated via script. The second animation is the legs walking. They are both in different layers, but only one wants to play at a time. I have tried MANY things, including adjusting the animation weights, not putting in keyframes for the arms within the walking animation, switched which animation is on which layer… all with no success! I am using the legacy animations…

Any ideas or suggestions? Would shifting to the new animation make it easier? The reason I have not done that yet is because I don’t particularly love animating in unity… To me, it makes more sense to do the modelling and the animation together.

Thanks in advance!:smile:

Ive been through this pain many times, and very rarely got the success I wanted. I got closish results… then unity 4 came out, and all my animations stopped looping. nice job unity. you %@#!# something (the animation code worked perfectly in 3!). I assume the bug I experienced is because I have scripts generate the animation loops.

Anyway… You will probably need to use a combination of layers, weights, and the AddMixingTransform function

Thanks James,

The AddMixingTransform sounds very promising. And I do feel your pain, when upgrading to unity 4, my previously working model started acting up!! And to someone like me, who is already not a natural 3D Modeler (More of a programmer / graphic designing) this is extremely demotivating…

Just wanted to let you know, for me the answer was to use “AddMixingTransform”… Many thanks for your help! :slight_smile: