enemy AI not focusing on the player character

I created an AI for an enemy, and I have problem with setting Focus,
the ninja enemy is not facing my character and mostly miss me when tries to hit me how can I fix this.
I’ve tried everything possible , watched multiple tutorials I literally followed all the instructions, but it is not rotating to face the player




Hey @exe.caliber!

What do you do in the next task from this one? You’re setting the focus but it doesn’t seem like you’re doing anything with the focus. Can you show your next steps?

Let us know! :slight_smile:

the next task is attack
my understanding is that Focus will rotate the enemy toward the third person character after that the nest task ( attack) will implement the attack, since I moving the next task will be clearing the focus, then chasing me then Focus then attack and the cycle of tasks will Loop