With AddMixingTransform, I can set specific transforms, that affect the animation. But is it possible to remove the set transforms? Because if the character holds a weapon, the animation "Walk" should only affect the legs and if the character is unarmed, it should affect the whole character.
if(Animationen.IsPlaying("ArmedIdle")){
Animationen["Walk"].blendMode=AnimationBlendMode.Additive;
Animationen["Walk"].AddMixingTransform(RightLeg,true);
Animationen["Walk"].AddMixingTransform(LeftLeg,true);
Debug.Log("Additive Mode");
}
else{
Animationen["Walk"].blendMode=AnimationBlendMode.Blend;
Animationen["Walk"].AddMixingTransform(StartBone,true);
Debug.Log("Blending Mode");
}