Event-based update for BT. #74
Labels
breaking-compatibility
Implementing this issue would break compatibility with the current minor versions.
enhancement
New feature or request
Currently, the BT update mode primarily invokes the
_tick()
method to poll the current state at each frame. This approach is generally inefficient when executing time-consuming asynchronous functions, such as playing animations, navigating, and timing. It may cause a useless function call just to poll whether it is finished.For actions based on signals, implementation would be straightforward: set the update mode to manual upon node setup, and switch it back to auto upon exit. For user convenience, adding an option to automate this function for task nodes would be beneficial.
The text was updated successfully, but these errors were encountered: