cancel
Showing results for 
Search instead for 
Did you mean: 

Pawn position and orientation in VR in Unreal Engine

nnnatasa
Honored Guest

Has anyone had a problem running the VR preview in Unreal Engine with player position? Namely, when I start the game and put on the headset (Oculus Quest 2), it happens that my virtual space rotates or moves by certain values. It is extremely important to me that when starting the game in the program, the player is always in the same place and in the same orientation, because I overlap the table from reality with the virtual one, so that they really coincide without having to move the virtual one every time. I need the VR pawn view to match the position, height and orientation of the camera that exists in the scene at every startup. If anyone knows what the problem is or has an inkling, I would be very grateful for an answer. 

1 REPLY 1

swang81
Protege

The initialization of the VR scene transformation depends on the initialization of your headset.

swang81_0-1714721838267.png

Stage mode: your guaridan area shape define your VR scene origin. 

floor  level mode : your camera direction. you can change the VR scene direction with long pressing "Meta button"

If you want to open the game with same direction, you need "stage mode" and store Pawn transformation.