Open JSideris opened 2 years ago
Another option would be to trigger the tree less frequently based on resolution. Perhaps a better task would be to have different fixed update queues.
That being said, certain AI functions, like movement, might break with low res fixed updates. AI would "miss" and crash into something and get stuck much more frequently.
AI should have resolutions based on their proximity to a player.
If controlled by the server, resolution should update periodically based on whether there are any players nearby.
AI resolution can be used in the behavior tree for the AI.