How to Make a Simple AI Enemy That Follows the Player in Unreal Engine?

Hi everyone,
I’m new to Unreal Engine and currently learning how to create basic AI behavior using Blueprints. What I want to do is create a simple enemy character that can detect and follow the player around the level.

So far, I have:

  • A Third Person character as the player.

  • A basic enemy character with an AIController assigned.

  • A NavMeshBoundsVolume placed in the level.

But I’m stuck on how to actually make the enemy follow the player. I’ve read about Behavior Trees and the “Move To” node, but I’m not sure how to put everything together properly.

Here are my questions:

  1. Do I need to use a Behavior Tree for something this simple, or can I do it directly in the AIController Blueprint?

  2. How do I continuously update the enemy’s movement toward the player?

  3. What’s the correct way to detect the player – Line of Sight, overlap event, or perception system?

  4. Is there a basic example project or tutorial you recommend?

Any help or simple explanation would be really appreciated. Thanks in advance!

For something this simple just code in the AI class.

  1. Get a reference to the player you’re tracking.

Set up a Recursive Loop to locate the player. Typically AI will be spawned in well before any players. Even with the 3s delay the player might not be loaded yet.

  1. Once the player is found and a reference created we can have it start Tracking him.

All together…

Simple enough. Could be a bit more robust with further conditional checks etc.