just started using the new Animator system, and the state tree for controlling animation blending.
I have a wolf idle, walk and run animation. They all loop fine in preview…
they all loop just fine in legacy mode, just dragged into scene and click play, they loop ok.
but if I use a control script with a navbot with various speeds (stopped, walk speed and run speed) then each animation plays once, briefly flicks back to idle animation, then back to its current walk or run animation.
when I look at the live state diagram… the wold if transitioning back from run(or walk) to idle for an instant at the end of each animation,
but there is no way to go from run to idle in the tree… nor is the speed slowing down for a state transition to be triggered.
the state diagram is this…
any->idle<–>walk<–>run and the conditions are very simple
idle (>0 goes to walk)
walk (>1 goes to run) (0.0001 goes to idle)
run (<1 goes to walk)
there are no transition rules for if near end of animation.
How is it possible to transition back to idle after every animation cycle of both walk and run animations ?
help appreciated, thanks