Reply To: Behavior Tree updating.

NodeCanvas Forums General Discussion Behavior Tree updating. Reply To: Behavior Tree updating.

#13581
Gavalakis
Keymaster

Hello again and sorry for the late reply!

Tasks are updating from within the BT update and not independently, unless you want to do so.
To make AI deterministic and anything really, FPS independent, you simply have to use Time.deltaTime where it is adequate, but it’s really your call how you want to handle this of course 🙂 FixedUpdate is really only there in Unity to be used with Physics :).
As for some code, from the next version, this is the only piece of code that is needed to manually update a BehaviourTree (owner) manually:

Please let me know if you have any more questions.
Thank you.

Join us on Discord: https://discord.gg/97q2Rjh