Hey!
I have simple state machine:
As you can see I check “Always Reset on Entry” for state “Attack”. This work very well for single attack. But when AI attack again in the middle of previous attack I want to back to state “Patrol_Chase” and go to state “Attack” again.
The problem is when I go again to “Attack” state - it start playing animation where last it stop playing.
My notifiers:
I make even synthetic test. Catch Notify “AnimRealAttack” and then instantly back to state “Patrol_Chase”. Then Notify “AnimAttackEnd” never called (like animation don’t play). Next time I go into state “Attack” animation play from last position and after while is called Notify “AnimAttackEnd”.
My Attack animation setting “Start Position is 0,0”.
How to play animation of state always from beginning ?