Skip to content

Is there a built-in method for getting the current state? #95

Closed Answered by andrew-gresyk
ari-sc asked this question in Q&A
Discussion options

You must be logged in to vote

That's easy to do in a flat FSM, e.g. FFSM2 provides StateID Root::activeStateId().

However, a hierarchical FSM with depth of 2 or more will have more than one active state.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ari-sc
Comment options

Answer selected by ari-sc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants