Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums will be revoked at the discretion of Oculus staff.
New to the forums? Click here to read the How To guide. -- Developers click here.

VR "Hold" Screen for gallery Instal

bentoonbentoon Posts: 8
NerveGear
edited October 2018 in Unity Development

Hello All,

I've done a search but @imperativity has come closest to an answer 

I have a VR piece in a gallery installation. It's using an Oculus with the display on a large monitor.

When nobody uses it, the screen goes blank and I am wondering whether I can have a new scene (splash screen) play when nothing happens for 30 seconds. 

Originally I thought of a the "splash screen" scene, when the user picks up anything, it would trigger the "Main scene" ?

Forgive my Pseudo code, but :

     void OVRInput.FixedUpdate()     {     if (nothing happens for 30 seconds)     {      application.LoadLevel(splashScreen);     }     }

And then if the user pick up the controllers/ head set :

   void OVRInput.FixedUpdate()     {     if(anything happens)     {      application.LoadLevel(Main);     }     }


BUT

The problem would be if it is a normal VR Piece it will not look like anything when the user removes the HMD as it's not looking at the ground and away from action

Is there a way I could turn on / off the VR Mode earn the HMD is not engaged ? 

This might be a super elegant solution

Thanks for your help!


Comments

  • imperativityimperativity Posts: 3,587 Valuable Player
    edited October 2018
    @bentoon

    I appreciate your tagging me as helping you along to this solution, but I regret to inform you that I do not have additional guidance to provide for enterprise use cases that need modifications to functionality for Oculus HMDs to perform as expected.

    I'll leave your post here for any feedback other developers may have to provide for similar deployments.
Sign In or Register to comment.