Forum Discussion
phileday
11 years agoMember
0.4.3 OVRDevice.ResetOrientation and mirror
ok, so how do you now reset the orientation?
My original code was
what's the new way to do this?
I've also noticed that mirror display has gone as an option. I had a switch for people that went like this.
has this gone now?
On a positive note I've got it working with that latest beta 21 build of unity 4.6 and found a rewrite of the code that detects whether the health and safety display is still there. that's changed from.
to
My original code was
OVRDevice.ResetOrientation();
what's the new way to do this?
I've also noticed that mirror display has gone as an option. I had a switch for people that went like this.
if(Input.GetButtonDown ("ovrmirror")) {
GetComponent(OVRCameraController).Mirror = !GetComponent(OVRCameraController).Mirror;
}has this gone now?
On a positive note I've got it working with that latest beta 21 build of unity 4.6 and found a rewrite of the code that detects whether the health and safety display is still there. that's changed from.
if(!OVRDevice.HMD.GetHSWDisplayState().Displayed){to
if(OVRManager.isHSWDisplayed == false){
1 Reply
Replies have been turned off for this discussion
- philedayMemberJust found an answer to my main question :) just didn't didn't see it when I was looking before. I have the same problem with my keys sometimes.
OVRManager.display.RecenterPose();
To reset orientation.
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
- 11 years agoAnonymous
- 1 month ago
- 6 months ago