allow ordering systems registered in computed and source state transition events #17708
Labels
C-Feature
A new feature, making something new possible
S-Needs-Triage
This issue needs to be labelled
What problem does this solve or what need does it fill?
example
i have a source state containing jump and fall which when computed give the computed state air variant (as opposed to ground)
(transitions between jump and fall variants and any other new air states don't trigger transitions in the computed state which is great)
on entering the air state i set air velocity based on ground velocity (ground velocity has no y component) and on jumping i skew this based on the ground normal
.before
doesn't work here because they're in different schedule labelsWhat solution would you like?
The OnEnter, OnExit and OnTransition types should only indicate how the systems are triggered not the order they are triggered in
I think unifying all state transition events under one label and using run conditions like we already do with states would be the best solution
so something like
or
although the run condition is schedule specific which might be confusing not sure on the stance for that so maybe
which adds the run condition under the hood - there's probably plenty of alternate solutions
What alternative(s) have you considered?
in this case this works but also defeats the point of the state infrastructure
and in more complex cases this will continue to grow more convoluted
The text was updated successfully, but these errors were encountered: