UE-VR-Code-Sample
UE-VR-Code-Sample copied to clipboard
Virtual Reality sample converted from Blueprint to C++ project
Need a bit of refactoring due to engine changes... added #include "IXRTrackingSystem.h" Changed GEngine->HMDDevice.Get(); to GEngine->XRSystem->GetHMDDevice(); Changed hmd->SetTrackingOrigin() to GEngine->XRSystem->SetTrackingOrigin(); Also, when the game is started, the players vantage point...
Just automatic removal of annoying trailing whitespaces and tabifying indentation (replace spaces with tabs) :)
I can stub in the code for this, but I don't believe I can test without a Vive.
The code is inspired by the original blueprint template.
It currently doesn't compile, I get errors such as: ``` Error C2653 'EHMDDeviceType': is not a class or namespace name VRCode Source\VRCode\TP_VRPawn.cpp 30 ``` In particular it seems like there...