Get Player Rotation to Object

Hi All,

I am currently making a game in which I have a compass that constantly updates depending on the players rotation. The next step I am trying to take is to let the player know which direction they have to go to get to an object in the game. For example, if they select from my list that they want to go to a house, a popup will tell them the direction they need to go to reach that house.

Basically, I need to get the rotation from the front of the player to the specified actor.

I am using version 4.18 in the flying template.

Thanks in advance for whatever help you are able to provide!

What you want to use is the ‘find look at rotation’ node or the ‘get unit direction vector’ node , they take an initial location and a target location.

Hope this helps :slight_smile: