Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest stressing the importance of enabling *_enabled in docs #23

Open
peterkingsbury opened this issue Oct 27, 2021 · 0 comments
Open

Comments

@peterkingsbury
Copy link

peterkingsbury commented Oct 27, 2021

Hello,

First, thanks for an awesome add-on. I'm used to FSM in other languages, and found the godot-finite-state-machine interface rather intuitive.

It however took me a while to track down why the code in my State's _process() wasn't firing. Turns out I needed to explicitly enable one (or more) of:

process_enabled = true
physics_process_enabled = true
input_enabled = true
enter_state_enabled = true
leave_state_enabled = true

I would recommend updating the docs, stressing the necessity of enabling one (or more) of these (as well as the necessary "push down" functions in the entity which contains the FSM instance) so that it is more apparent to newcomers.

Do you accept Pull Requests? I'd be happy to contribute.

Thats all! Thanks for an amazing add-on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant