Skip to main content
Inspiring
May 4, 2017

[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
This topic has been closed for replies.

6 replies

New Participant
August 8, 2017
I am trying to do this in Unity. Haven't been able to find any documentation about it so far.
motorsepAuthor
Inspiring
August 15, 2017


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.
August 16, 2017


@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* :)
Up and Coming
August 16, 2017
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 :( )
Inspiring
August 17, 2017

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.
S7 Exynos Nougat. 2017 Gear VR. Public test channel.
Up and Coming
August 17, 2017



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: