HMD get orientation and position returns wrong y-value

Hi Guys,

I'm working with the HTC and trying to get an NPC to look at the Player.

I want to get the Position of the Headset through “get Orientation and Position” but it sadly returns a wrong y-value.
While it returns X=-250; Y=150; Z=175, I’m actually standing at about X=-250; Y= -100; Z=175.

By now I have tryed all I can, but I can’t get it to work, and I have no idea what the could be the reason.

Is this a bug or is it me?^^ It worked before once and I haven’t really changed anything besides diconnecting and connecting the nodes again.

Please Help!

Not sure if it helps, but here is a screenshot of my build:

B.t.w. I’m working in the animation BP of my NP-Character.


Hello edstoica,

I have provided an example blueprint that uses an Arrow component to point at the HMD in game. Could you give this a try and let me know if this works for you? The pin for “Device Position” provides the position within its own tracking space. I added this to the camera position for the player. This allows me to get an accurate position of the players head in game. I hope that this information helps.


Make it a great day

Thanks alot!!!

Hi, im trying to get a component in a blueprint to look at the players hmd. Any chance you could help as i don’t see the example blueprint rudy posted?

Hello Magneto,

I have edited the original answer to include an example. I hope that this information helps.

Make it a great day