Bizorke / Gear3Engine-Issues

For bugs and features.
1 stars 0 forks source link

Resolution for AI #1219

Open JSideris opened 2 years ago

JSideris commented 2 years ago

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.

JSideris commented 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.

JSideris commented 2 years ago

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.