How to attach actor to VR camera

I am trying to build something like a head mount display (Think of a Google glass in VR). I put the panel on the gun for the FPS case. It works fine when play in monitor, but in VR, the gun will go off the view when HMD looks side ways.

Is there anyway I can attach this 3D panel object to the camera for VR? The HUD doesn’t work for VR, and the camera can’t have a socket.

Attaching the panel to the ammo

76274-ue4_01.jpg

It looks fine when looking forward

Went away when looks sideways

I also tried to attach the object to the camera, but that way it only move when you turn left/right, and stay on the same horizontal level. It doesn’t follow when you look up and down.

Nope, not yet.

Hi mate, did you find a solution for this . Me get a same problem!

You could make the arms and gun a separate actor from everything else, grab the VR cameras transform and then manually set the transform of the arms and gun from the camera’s transform.