- Home /
Controlling child sprites with one animator?
For the love of me I can't figure out how to control my sprites properly. I made a frame animation of a laughing skull, that is my parent object with Animator component and controller. I try adding two eyes to the object and make the eyes rotate -360/360 degrees. I make the animations, they pop up in animator controller and each eye animation is working when tested in Animation timeline.
However as soon as I hit play button, only mouth animation plays. What am I doing wrong?
Answer by smoggach · Jan 26, 2015 at 02:57 PM
The animator only plays one animation at a time on each layer. Since you made two animations I'm assuming you don't always want them playing at the same time or offset.
Make a new layer in the Animator window and set one of your animations to the default there and the other to default in the base layer. Then you can tweak the weight parameter.
Your answer
Follow this Question
Related Questions
MMD How to export model and animations to Unity as 3rd person controller? 2 Answers
GameObject Disappears when Setting Parent 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to use multiple bone rigged sprites for 2d character animations 0 Answers
JCar & FPS/TPS controller 1 Answer