Set focal point AI not working

I am using an enemy which after an event must change its direction to the player.I am using set focal point …but it is not working…I don’t know why?

thanks in advance

I’m struggling with this, as well. Any luck sorting it out?

You need to understand difference between Pawn and Controller. Controller is brain and Pawn is your actual model that runs in game. So you need Pawn location and not controllers.

Also Set Focus sets one time (like on Begin Play) and stops focusing by calling “Clear Focus”

Set Focal Point needs to be set every tick (or as fast as you want)

Set Focus sets FocalPoint as result, so dont use both same time

Can confirm this doesnt work in multiplayer. At least the way I’ve done it. The focal point is being set, the location of the player is correct, but the AI does not face the player. Bug?

This is a very late answer, but I just stumbled on your post, and can’t leave it unanswered.

In order for it to work in multiplayer you have to replicate pawn rotation information to other clients, AI controllers exist only on your Server, and setting focal point won’t automatically replicate this information to other client pawns.

On of the way to fix it would be to to take your resulted pitch and yaw data on the server and manually replicate it to your pawns.