We have a character controller by a mechanim animator, and it works great.
However, in some case, we would like to shut down the state machine and play a specific list of animation clip on this character. (Ex.: A cinematic)
Anybody know how to do that? The last thing I want is to add all those animations in the animator.
Actually, the Animation component appear to be unable to play AnimationClip made in Generic or Humanoid. It pops the warning that it should be in legacy…
So, what I found out is that the Animator component has a RuntimeAnimationController that can be changed.
When I want to play an specific animation, I make a controller with a single node in it and change the Animator for this one. I bring back the default one when I want the player to return to its normal stats.