Forum Discussion
Rouslan
8 years agoHonored Guest
Recenter / Quit from the Universal menu
I followed the guide:
https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-focus/
But the associated flags in the sessions structure are always false, even when clicking on the corresponding buttons in the universal menu.
Due to the above I failed the app submission.
.HmdMounted and .IsVisible work fine.
Please advise. Thanks.
https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-focus/
But the associated flags in the sessions structure are always false, even when clicking on the corresponding buttons in the universal menu.
ovrSessionStatus status;
ovr_GetSessionStatus(m_ovrSession, &status);
if (status.ShouldRecenter) // always false
{
{
ovr_RecenterTrackingOrigin(m_ovrSession);
}
.HmdMounted and .IsVisible work fine.
Please advise. Thanks.
6 Replies
- RouslanHonored Guest1.15. Before I posted here, I updated to the latest version, in case this was fixed.
I can provide a copy. Do you want source or binary? Alternatively, you could provide me with a sample app source that works.
Thanks. - RouslanHonored GuestNo, the app is written from scratch and calls the Oculus SDK directly.
- RouslanHonored GuestThe project is fairly large and it might be tricky to compile. Probably better to provide a binary build + the source file that is specific to Oculus handling?
- mfmfOculus StaffDoes OculusRoomTiny (from the SDK downloads) work for you? You can check out the main.cpp there, though it looks basically the same as what you're doing.
- RouslanHonored GuestThank you, mfmf. I can confirm that OculusRoomTiny (DX11) does not recenter too. Could you try it on your side?
- RouslanHonored GuestHmm, so you click on recenter at the universal menu and when you go back to the app, you are facing down the room?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 4 years agoAnonymous