Thanks for looking at NodeCanvas for your project.
By default, graphs (including BTs and FSMs) are updated automatically, but you have the control to manually update the graph if you want by code.
When done automatically, graphs are update from within a MonoBehaviour “manager” void Update.
With that said, if you create some custom Action Tasks that you want them updated in FixedUpdate, say for physics related things, there is a way of making these custom action tasks indeed update in a FixedUpdate loop for the duration that the action task is running. Otherwise, all action task execution is happening from within that original “normal” update of the graph. FixedUpdate in general should only really be used for when dealing with physics by the way, and certainly you wouldn’t want the whole tree to update in the physics loop, but rather only the actions that relate to the physics directly 🙂
Let me know if that answers your questions, or if you have any more questions at all.
Thanks 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.