First time using behavior trees, any tips for serverside pathing?

I finally learned how to properly use behavior trees this time. I decided to write a AI OOP class system that has a server-side OOP instance (handles pathfinding and other related things) and the client-side class that handles animations and visuals.

For this pathfinding I used ControllerManager, SimplePath & BehaviorTrees3 because humanoids tend to be less reliable on pathfinding and have more unreliable behavior in my experience, with controller managers I can explicitly control what the NPC is allowed to do and what not.

My question that id like to ask you guys, do you know if there are any tips for server-side AI movement? How one can make it smoother? I know most server authority games use something called prediction, but is something like this applicable for NPC pathfinding? Especially for chasing players to make it more responsive and smooth?

Here are some videos of the AI and a image of my behavior tree.



1 Like

Are there any things someone can recommend to me to make AI perform better?

Or is the delay just something that one can’t fix as it’s just the expense of server authority?