How to get the real position of my Oculus VR

Hello everyone,

I have an issue with my first VR game. I the Oculus Rift and when I start my game, the camera’s position is at the same level then the floor. I would like to position the camera like in the real world. The idea is to take the information of the Oculus like player’s height, rotation, etc and to make a function node who returns the good informations to put the camera at the good place even when the start position of my Oculus helmet.

I’ve tried a lot of things and I really don’t know how to do that. I start with UE4.

Thanks very much !

PS: I’m sorry for my English

This may be due to the Template having a bug on the HMD Device name switch. If you go to your Pawn (Or try to find where GetHMDDeviceName is used) - It will use a switch with ‘Oculus Rift’ - This needs to be changed to ‘Oculus HMD’.

See - having trouble with oculus rift and vr template - XR Development - Unreal Engine Forums

Thank you for your anwser !!! =) That work correctly now ! I just add “OculusHMD” in the “SwitchOnName” node