Resource to learn best practices for creating high-performance AI (mobs/NPCs)

I’m interested in the AI programming side of things for a traditional RPG.

Does anyone know of resources that also focus on performance? Eg whenever I hear people discuss things they say use UNavMovementComponent instead of UCharacterMovementComponent, don’t use ticks or reduce them, check player sight etc… But is there an example/tutorial/resource that actually implements high performance “AI” for mobs/NPCs.

Eg for a traditional mob that spawns, roams (has some idle animations/walking), then attacks players when they come within some range (doesn’t even have to be range of sight) and can die/have attributes.

1 Like

Hi there,
If you examin the AI shipped with Lyra Started Game, you want to check both behavior trees, elimination and control point.
Another reference is Shooter Game, shipped with behavior tree in c++.

If you browse the community tutorials section, there’s a tutorial series focusing on advanced AI with “leader” and cover system, also in c++.

I’m watching this topic because I am looking forward to seeing recommendations from other devs.

4 Likes