Setting up VR

Switch between VR or PC mode to start



Prepare VR template and 3rd person template in the same project →
Open VR template, click Add button at content broswer and add 3rd person content
image.png

Drag a PlayerStart in scene
Create a BP Player Controller, name as PC_StartingPlayer, open it
Go to event graph, connect HMD from event begin:

image.png

Remark: SpawnActor from class → choose VR Pawn → Split Spawn Transform;
Break vector Z set minus 92 is to offset the capsule half height

image.png
End the node with Possess node:
image.png

Duplicate below nodes connect to Branch False, change Class in SpawnActor to BP third person:
image.png

Set Player Controller Class to PC_StartingPlayer
Set map as needed
image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.