Forum Discussion

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

Shake headset to reset?

Hey friends, 
I am working on a app for the Oculus Go that will be used in a expo setting. The app will play a 360 experience then when the user is done will hand the Oculus Go back to the Booth rep. The booth rep will then shake the headset to reset it. I am using Unity to create the 360 experience and wondered if there is a good way to use the accelerometer within the headset to reset the scene.

Thanks!

2 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    Instead of shaking I'd recommend resetting the app as soon as the headset is taken off using the OVRManager.HMDUnmounted event to which you can subscribe.
  • We do something similar, though I'd add that you probably don't want to reset as soon as the headset is taken off, as that happens naturally when someone readjusts the HMD, headphones, strap, etc. You should probably add a 5-10 second grace period between unmount/remount events.