- Home /
Mix Animations with Locomotion system
I have the locomotion set up using animation clips that only animate the legs. When I try to play an upperbody animation using AddMixingTransform it completely stops the locomotion system when the animation plays. How do I mix upper body and lower body animation clips and keep the locomotion system running?
This is the code I am using (which has no effect):
Start(){
animation["wavearms"].AddMixingTransform(mixTransform);
}
Update(){
if(Input.GetButtonDown("TEST")){
animation.Play("wavearms");
}
}
I've tried many different things for the mixTransform variable as well, such as making it recursive (to animate all children) and use different bones. Nothing has worked.
Your answer
Follow this Question
Related Questions
How to an animation clip based on characters(letters) in an array 1 Answer
How to get and use animation clips of a model via script? 1 Answer
How do you split one animation into multiple? 1 Answer
How to move Animation Clips into Animator Controller? 1 Answer
Not all animations are replaced when using an Animator Override Controller 0 Answers