- Home /
Animator set of states
i am working on a 2d top down game, i have a player that have 4 animations for walking (left, right, up, and down). transitions on the animator work fine so far, however, i have another set of 4 animations for when the player changes armor, and i couldn't figure out how to toggle one set to the other. my state machine is as follows :
can you please help me as to how to toggle between the different loops?
Answer by Vollmondum · Mar 21, 2019 at 02:31 PM
Best way is to create another Animator and assign it on ArmorOn.
Say for most RPGs each armor set has own Animator. If you do it in a single Animator, you get real spider web
@Vollmondum : thanks to your answer, i stumbled upon AnimationOverrideController, create an override controller for each of my armors and now i have a working and clean state machine
That is another solution. It's just I prefer not mixing up. I'm working on an RPG with 50+ armors and 200+ animation states. Override thing complicates everything :)
Your answer
Follow this Question
Related Questions
Animator.Play not working when in Sub-State Machine 1 Answer
How to apply Animator to different game objects (when animations affect children) 1 Answer
What is the best method to animate and evaluate player body with animator? 0 Answers
[StateMachineBehaviours] All prefabs share same state machine. 0 Answers
how to initiate animation from implementing script in state machine? 0 Answers