Mixing Animation made with IDE with Dynamically controlled animation

I am wondering if anyone has found a good process for mixing animation created via the Unity IDE on a timeline with animation created by a script.

Our current process is to reparent the GameObject and use Rebind on the Animator the only down side is that Rebind restarts playback of the animation clip and setting the playbackTime causes for any events to be triggered again on that clip which seems wrong.

We have have managed to get around this issue by removing events from the clip as they are initially called. It feels we are really hacking this concept to make it work as we like and I feel there is a lot of benefit for being able to Animate with a timeline Animation and then being able to animate this object with a script before the whole duration of this timeline animation is complete.

Ok figured this out in our case, if you do a LateUpdate for the dynamically controlled animation then you can mix and match these as you like !

1 Like