I set up a simple 2D animation system as below. Basically I want to switch the character animations instantly when I make it walk Up, Down, Left or Right.
(2) shows an example of how I configure the transition. I disable exit time and set all the animation related params to zero.
(3) shows what happens when I run the game and transition to that state: the animation is stuck at the start.
There is nothing wrong with the animation clip itself. The same ‘stuck’ behavior is observed at all other states. All transitions use the same transition configuration (Has Exit Time unchecked).
hi Mecanim, I solved the issue by unchecking ‘can transition to self’ in all transitions. I don’t know why it’s necessary. all the transitions are just triggered by one ‘movement’ parameter, which is decided by keystrokes.
Rest assured, that I’ve made 5 unity games so it’s not some silly coding issue.