Repository navigation
BT Optimization Question #462
Caleb-Maranian
started this conversation in
General
Replies: 1 comment
|
BT can be updated manually, so you can just set the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi. I've been using LimboAI for some fairly complicated behavior for my enemy AI in my game. My question is does LimboAI do any sort of BT update logic to ensure multiple behavior tree's aren't all running at the same time? For example if I have 10 enemies all using the same behavior tree will each of them update their BT's on the same physics ticks? If not, is there a way to distribute BT update calls so that all enemies aren't updating their behavior trees on the same frame every physics tick? My concern is that my enemies don't need to be updated every tick and distributing when these processes are called would help on performance. I could've missed it on the documentation but I don't see a manual way to update BT's so I'm unsure if it even possible to do this on my end. I implement a solution like this when not using LimboAI to circumvent this scenario but im curious if there's a way to do it for BT's as well or if this is handled already under the hood.
Example of how to distribute Enemy AI behavior among different physics frames without LimboAI
All reactions