Target rotation positioning issue (Find look at rotation node)

Hello everyone, I am currently having an issue in which I am unable to successfully acquire the target’s rotation at all times. Depending on the targets rotation will result on the angle I get (0 to 180 and 0 to -180 degrees). It works when the target is facing north and south of the area but whenever it faces east or west the calculation for the rotation messes up.
I have provided the following blueprint:

The main purpose for the blueprint is to find the direction the player is facing to the target this will be (Front, Back, left or right). For example if you are behind the enemy the blueprint should be able to successfully detect whether the player is behind the enemy and notify them via UI. If you require more details please feel free to ask. I hope this helps to figure this issue out, thanks!

This crops up a lot

2 Likes