Not sure if my use case if the same as @RolandStuder’s and @jeremyfourna’s, but I’m encountering something similar, running into the limitation that ‘duplicate states’ are not allowed even if they are nested inside different parents.
In the example below I’d like to refer to Playing
and Ended
inside two different parent states:
Animation Player
Animation 1
button press -> Animation 2
Playing
timer -> Ended
Ended
Animation 2
button press -> Animation 1
Playing
timer -> Ended
Ended
I understand that currently in timer -> Ended
it is not clear if Ended
refers to Animation 1 : Ended
or Animation 2 : Ended
.
Could there perhaps be a heuristic that prioritizes ‘sibling transitions’ over ‘cousin transitions’? I mean the transition timer -> Ended
would take effect inside the parent state Animation 1
or Animation 2
based on which of the two it originates from, transitioning
Animation 1 : Playing
to Animation 1 : Ended
or
Animation 2 : Playing
to Animation 2 : Ended