cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the location of guardian center point using UE4 Oculus Plugin?

MetaPunkGames
Honored Guest

Need help, How to get the location of guardian center point using UE4 Oculus Plugin?

I'm developing a multiplayer room-scale fps game. I want to make a center point sync with the center of guardian range(quest2), to spawn players by relative location in one room.

 

by the way, is there any way to sync the guardian data with other quest2 device? where the guardian data located in, such as /sdcard/xxxxxx directory?

2 REPLIES 2

CarpetFace
Expert Protege

It should be UOculusFunctionLibrary::GetPlayAreaTransform(), but something changed in the last two months while I was on vacation and something (not my project code) seems to have changed to break this for my project (at least for VR Preview).  I'm on Oculus UE4 4.26 branch.

CarpetFace
Expert Protege

I moved to lastest Oculus UE4 4.27 branch (4.27.2) and GetPlayAreaTransform is still returning garbage for the translation.  My current belief is that the OculusClient.exe came out with a bug that broke this.