EnemyAi see and attacks but dosn't chase

HELP!

My enemy Ai roams the world, sees and attacks but he doesn’t chase me. how to fix that?


Hey there @riaaa! It looks like you need to set your target actor on the move to:

image

still not chasing me. he basically just shoots me if i’m standing in his way lol

okay, not with the target actor, I made the box collision bigger and it’s still a little wonky but eh chases. Once again, the answer is simple, lol thanks :smiley:

1 Like

No worries! However I do recommend if your AI gets any more complex than “walk up and shoot and chase if out of range”, to look towards Behavior trees. They can be a bit heavier performance wise but can it easier to lay out complex behaviors than to do it by hand. Though it’s also totally fine to handle the AI entirely by hand if you prefer!

I hadn’t heard of behavior trees, I’m fairly new to this so I will for sure check it out, it actually is a bit more complex lol so behavior’s trees might make my life simpler thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.