Even when I do that, it still plays the “zombie” animation at full weight instead of evenly distributing them. Does anyone know why that might be?
EDIT #2: Changing the order of the animations makes a difference. If the “walk” animation is set to play after the “zombie” animation, the “walk” animation will play instead, at 100% weight.
Still, this doesn’t solve the overall problem of making them blend 50-50.
Each animation layer is handled seperately. A higher layer number has a higher priority. The highest layer is “served” first. When it doesn’t use all weights, the lower layers get their part of the remaining weight.
Also the blend weights are always normalized. When you have two animations on the same layer, one with 1.0 and one with 0.5, the first one will get 0.66666 and the second 0.33333. In this case this layer eats up 100% of the weight.
Higher layers get the weight first - so it get a much higher proportion. Putting them on the same layer with the same weight would give you half of each. The weights are kind of added up with to get the final proportion. Basically all of it goes to the higher layer.
I have a question on this… if I have 20 animation files (rotate, move, etc) and the 21th that animates just the intensity (spot light), how could you make layer 1 applying for any animation file on the object… so I can turn them all on and off no matter of what other motion animation is happening around…
I am trying to avoid making a separate scripts for each animation file…