- Home /
Is it possible to use one animation controller for multiple objects?
I'm doing the character selection of my game, And I want to know if using one animation controller for all of my character will works?
Yeah, you just link the same animation controller, but all your characters will have a separate instance of it when the game runs.
How can I separate instance of my character when the game runs? I'm just new in unity and I don't know much.
I'm building a running game like subway surf/$$anonymous$$ion rush, but when I select another character and hit play button, it stucks on the idle animation, and the console says "animator is not playing an AnimatorController". But if I will use my original character, all animation works just fine.
Answer by surfuay · Dec 05, 2018 at 08:26 PM
yes.
the controller can be used for multiple sprites but the animation it controls would be different say if you're choosing spiderman or iron man obviously the animation the controller calls would be different.
in your editor you would just add the component animator for each character and then drag the animation controller you want.
for me I do a different controller and animation. it's just uh easier on organization for the way my mind works. a lot of ppl think its too much to look at.