I have a substate machine that contains a series of idle animations (about 6 of them currently) that are randomly selected upon entering the idle substate machine by a simple substate machine behavoir script.
According to this : Having fun with the new Mecanim features | Unity Blog
I now want to transition from any of these states into a locomotion substate machine when the speed parameter is greater than zero.
I tried connected the ‘idle’ substate machine with the ‘locomotion’ substate machine in the layer above the idlesubstate machine using a transition with the condition of speed > 0.
However the idles just keep playing and the transition is never done.
How do I get any of the idle animations in the idle substate machine to be immediately interupted when speed >0 and transition into the locomotion state without selecting each on and creating a transition on each one through the (Up) Base Layer and into locomotion? Because this doesn’t seem a very good way to do it especially when I intend to expand the number of idle states in future.