Trace from camera within Oculus for VR

Hi there, I am trying to trace from a camera in the direction that the camera is facing.

I am using an Oculus headset.

I think the start position of the camera is currently fixed to the starting point of the camera and does not take into account the position the camera moves to as I move my head with the Oculus Rift DK2.

Is there something that I have not set correctly to make UE4 use a Line Trace by Channel.Start parameter which represents the location of my head as I move around in the Oculus Rift?

An image of the Blueprint function attached. (I press T to do the trace)

Thanks!

OK, so just noticed all the Head Mounted Display functions when you right click on the Blueprint graph.

See here: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

The Device Position output from Get Orientation and Position function gives the position of the HMD. If you want to map it to your character then just offset what is returned by the amount that your in-game camera is away from 0, 0, 0.

I found that the eas

ee what this meant was to just move my character’s camera to position 0, 0, 0.