Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
motorsep's avatar
motorsep
Start Partner
8 years ago

[Gear VR] How to check if HMD was taken off and pause the app/game ?

I just noticed that if I take off Gear VR, the app/game still keeps rolling. 

Is it possible to detect whether Gear VR was taken off / put on and then somehow (how?) pause/unpause the game/app ? (looking for Blueprint solution)

Thanks

6 Replies

Replies have been turned off for this discussion
  • I am trying to do this in Unity. Haven't been able to find any documentation about it so far.
  • motorsep's avatar
    motorsep
    Start Partner


    Hi,

    I'm not sure if there is a blueprint solution for this, but I'll ask around and see if there is.

     Will have an update for you regardless.



    Bumping this one up, it's been a while.
  • Anonymous's avatar
    Anonymous


    @motorsep

    There is no current solution for this in blueprints, but there is an overhaul of blueprints coming from our end that may address this need. Still don't have an ETA for this yet.


    Overhaul of blueprints? Hope this means blueprint support for the Oculus Online Subsystem features? *hopeful smiley* :)
  • Kayatt's avatar
    Kayatt
    Start Partner
    There is a Notification Delegate for VR that can be used for that. Once I changed the UE Source Code to get this notification from a HMD from other company...;) (but I lost that code on a format of my pc :( )

  • pekayatt said:

    There is a Notification Delegate for VR that can be used for that. Once I changed the UE Source Code to get this notification from a HMD from other company...;) (but I lost that code on a format of my pc :( )


    If you ever needed a clear motivation to practice version control, this would be it. Sorry for your (data) loss, though.
  • Kayatt's avatar
    Kayatt
    Start Partner



    pekayatt said:

    There is a Notification Delegate for VR that can be used for that. Once I changed the UE Source Code to get this notification from a HMD from other company...;) (but I lost that code on a format of my pc :( )


    If you ever needed a clear motivation to practice version control, this would be it. Sorry for your (data) loss, though.


    In fact I do that for practically every project,  but for the Engine I was kind of lazy :pensive: because of the size of the upload and everything else... never more :smile: