Trying to learn the State Tree system and trying to understand how the transition logic works. I read the introduction to the State Trees and I gathered that when a state is selected, all the parent states are also active and when a transition is triggered, the new state will become active, along with its respective parent states.
My expectation would be that i would see State 1a and its parent (State 1) running, then it would transition to State 1b (and State 1 as its parent), then to State 2.
I am looking into visual debugger and I captured some gameplay with it.
Apparently my state tree “could not trigger completion transition” and jumps back to start.
This was maybe because “State 1” didn’t have a transition.
So I added one.
It’s slightly different now, but doesn’t solve my problem. :<
As it is close to midnight, I will call it a day and try to understand it another day.
If anyone can elaborate or throw their knowledge at me, that would be welcome.