Forum Discussion
sh0v0r
13 years agoProtege
Correct Way To Detect The Hardware
I'm trying to make my game automatically switch to OVR mode when the Hardware is detected but I'm unsure as to how to do that correctly? I have tried doing this: if (OVRDevice.IsHMDPresent()) ...
sh0v0r
13 years agoProtege
OK, just did some testing and it turns out that if there is an OVRCameraController enabled in the scene it will return true. If I disable it, then it returns false. What I want to do is check if the hardware is present regardless of there being a controller in the scene. That way I can enable the controller if the hardware is detected and chose the correct code path.
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
- 3 years ago
- 2 years agoAnonymous