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

Run criteria for update_system #18

Closed
hyranno opened this issue Oct 2, 2023 · 0 comments · Fixed by #19
Closed

Run criteria for update_system #18

hyranno opened this issue Oct 2, 2023 · 0 comments · Fixed by #19

Comments

@hyranno
Copy link
Owner

hyranno commented Oct 2, 2023

I want to provide ways to configrate when to update behavior tree.
As being discussed in this issue, Bevy itself has no official interface to do it for plugins now.
Fortunately bevior_tree has only one system, so making it configurable is not hard.
I have two options here.

  1. Take State as generics type parameter, then use it for run criteria.
  2. Take run criteria and use it.

Former is popular, latter is more configurable.
It may be difficult to run system for setup like OnEnter(state) with the latter, so other plugins may prefer the former.

@hyranno hyranno linked a pull request Oct 4, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant