Unable have one object look at another using "Find Look at Rotation"

This makes my player look at the the target before executing an attack. I use the same for my AI so it should work for you.

I’ve been trying to get one pawn to look at the player character wherever they move by using the “Find look at rotation” node with the pawn and player positions in the top and bottom pins, however I haven’t been able to get the pawn to look at the character regardless of what I do. I’ve tried setting the pawns world rotation/actor rotation/relative rotation, etc, but none have given me the results I’m looking for. The closest I got was using set actor rotation, however I had to break the rot and add -90 to the yaw rotation, and even then that only gave me a reliable ‘look at’ along the 1 axis, I couldn’t get the pawn to look up/down at the player.

I’d greatly appreciate if I were able to find out how to get this functioning as it has regrettably stopped my AI development in its tracks.

Thank you for your response though sorry that doesn’t answer my issue at all, and you still only use lookat for your yaw in the example image, where as I mentioned I wanted the object to look up/down at the characters height as well, however for some reason to even get it to rotate towards the player on that axis I had to break the rot and add a -90 to the yaw. (Something I did discover was for some reason my player character imported needed to be rotated -90 yaw in its blueprint…does this mean the look at function is somehow taking that into account, when I have to break the rot and add -90, even though it should just be trying to look from one position to another?)

After taking another shot with your solution while it doesn’t resolve the confusing results of the look at, by using the rotation from xvector for both yaw and pitch the enemy is correctly looking towards/up/down at the player :D!

Thank you very very much :)! I’ll have to make sure to remember this as the solution for the future any time I want to make a lookat instead.