displaying a distance hud

Hi, I am new to UE4, i am just wanting to create a HUD system which will show me the distance and direction of the objective with the player as seen in the assassins creed or splinter cell.
Here, notice the green “12 W” on the left of the image.
Thanks in advance!

So this is just an educated guess,

get the distance between the world location of your player and the objective. I think the units are in centimeters.

for direction plug the world locations of player and objective into the ‘unit direction node’, then feed the output to the ‘rotation from xvector’. then you need to compare the z value. it has a range of -180 to 180 not 0 to 360. So if the value of true north is 0 if the z value is between 45-135 that be east, I think…

WTF Is? Rotation from X Vector in Unreal Engine 4 ( UE4 ) - YouTube

you’re going to be setting all this up in a widget blueprint and casting to the player and maybe the objective to get there locations.

hope that’s at least half way coherent.

btw look up the “print string” node, it’s useful for debugging

try this in level blueprint

][1]