The transitions of a state are checked continuesly while the state is active. As soon as the condition assigned is true, the transition will take place and as a result the state will of course exit.
So if you have a transition condition that for example checks if boolean variable is set to true, as soon as the state action sets that bool variable to true, the transition will happen.
Why not just set that variable at the end of the action?
Unless I misunderstood something 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.