Animate 2 objects at the same time

Hi all,

I have a helicopter that I am trying to animate in unity. I have an animation file for the blade that is set to loop 360 degrees in 9 frames. I also have a file that moves the main body of the helicopter around the scene (for approx 30 seconds). I am having trouble understanding the animation system with regards to running these two animations simultaneously. I can only seem to get one or the other running.

I’ve had a look at the scripting examples in the Ref manual but I can’t seem to figure out how to apply these to my scene.

Any guidance would be appreciated.

Thanks Peter

1 Answer

1

In this particular case, you probably want to use AnimationState.AddMixingTransform. Another option would be to not animate the blades at all with an animation - just use a script to rotate them.