I’m doing some line traces in VR which should start at the position of the camera (shifted 10 cm downwards, so I can still still the line). This is my current setup:
As you can see, this works as expected in non-VR:
In VR however, the starting position of the trace is wandering across the screen when I move the HMD in space:
(Using standalone game mode in 4.8 due to broken VR preview)
There is a new node called “enable player camera manager follow HMD”. But both values (orientation/position) are already set to TRUE (which seems to be there default).
But it seems that the camera manager does indeed not give you the current camera position ?
So I was hoping, that I could just add the result of ‘getOrientationAndPosition’, but that doesn’t help as you can see.
So here’s my question: How to get the real, absolute transform (position + orientation) of the camera in VR?