Hello everyone, I made three animations Idle / Attack / Hit and successfully imported them into UE4,
I want to implement a state machine as follows:
Idle switches to Hit after being hit, and cycles to Hit when hit again, otherwise it switches back to Idle;
Idle switches to Attack when attacking, and cycles through Attack when attacking again. If hit, it switches to Hit, otherwise it switches back to Idle.
If you only use the existing AddAnimation/SetAnimation functions of Spine-ue4, the logic will be very complicated;
Is there a state machine function? This way I can easily maintain the above logic.
If not, I can only export the Spine animation into a png sequence and then make it into FilpBook.
And use UE4's PaperZD plug-in to make the state machine, but this will lose the advantages of Spine.
Please also kindly answer my doubts, thank you!