Is there any way to transition to a sub-state machine through script?
I have made a state behaviour that selects a random animation and transitions to it. The problem is I can't crossfade to the sub-state machine with Animator.Crossfade(), because it says "State could not be found". I've tried to add an empty state and then transition to the substate but it creates a delay.
Is there any way to play a substate machine through script?
Just ran into this thing. But I need to play another state in this same SubStateMachine.
Your answer
Follow this Question
Related Questions
Is there a possibility to reuse substate machines in other animator? 0 Answers
Interpolating animations between blend tree states with Spine 0 Answers
8 way directional 2D attack animation? 0 Answers
Mecanim, get state percent complete when a transition occurs? 0 Answers
How to use OnStateMachineEnter function in StateMachineBehaviour? 1 Answer