Hi all,
I’m trying to workout how to get sub-state machines working with “any state” bool transition.
So I’ve got four death animations in a substate machine.
I have a transition with no exit time set to go from “Any State” to the State Machine Entry when “isDead” is true. Then inside the substate I have the four clips with different int/float values picking which animation to play.
The problem, however, is that you can’t change the “settings” on those transitions because they have no real source. The only transition I can change is the (Any State) → sub-state machine. If I have an exit time then it won’t interrupt other playing animations. If I take exit time off, it interrupts other clips, but then keeps trying to transition to itself. There is no checkbox for the “transition to self” settings when going to a state machine. Only when going directly to a clip.
Am I missing something here or you just not able to prevent repeat transitions to sub-state machines?
A trigger did work, since it got cleared after use. However, that is a bad choice in this setup as I want it to always be false.
Anyone have some advice?
Edit: forgot to mention I tried every possible combo of transition interrupt source and never got the desired result.