Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
MetaPunkGames's avatar
MetaPunkGames
Honored Guest
4 years ago

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

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

Replies have been turned off for this discussion
  • CarpetFace's avatar
    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's avatar
    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.