Why do my other animations get reset?

Hi All,

I’m running into a bit of an issue when trying to use multiple animations. Here’s the details:

I have a file that has about 400 frames of animation for a machine. These animations work on different parts of the machine (Ex. Frames 1-30 spin a gear on one side of the machine, Frames 100-120 extend an arm on another part of the machine.

These animations are not linked in any way - meaning that I may want to run the arm extension animation so the arm extends, leave it there, and at some other point, run the spinning gear animation.

Unfortunately, it seems Unity doesn’t like that type of animation much - It resets the arm when i run the gear spinning animation, and resets the gear animation when I run the arm animation.

Is there a way to fix this? Or do I have to put the individual animated parts into different asset files?

It really depends on how your machine model is created. If your machine has different models for each part, then each part can have an animator with a “clip” of the animation. If the machine is a single solid model using a generic skeleton, then that makes it more complicated and you will have to use separate asset files, or make the animation even more complex with all combinations of variation that can happen.

My suggestion would be to break apart the machine and use a single animation file.