Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
mrcrisp's avatar
mrcrisp
Protege
11 years ago

What key resets HMD orientation in 0.4.2?

In 0.4.1 the R key reset the HMD orientation to reset and remove the "camera out of range" message- but I just added 0.4.2 into Unity and the R key no longer resets the HMD orientation.

Did the key get changed? I can't find the key to reset the orientation- am I going nuts? :oops:

2 Replies

Replies have been turned off for this discussion
  • I didn't even know there was a key. I usually do this:

    if (Input.GetKey(KeyCode.Space) ) 
    {
    print("Reset Orientation: " + OVRDevice.ResetOrientation() );
    }
  • Anonymous's avatar
    Anonymous
    for 0.4.1 you can find the assignment in "OVRvisionGuide.cs" line 110
    if (Input.GetKeyDown(KeyCode.R) == true)

    I changed it to match an assigned gamepad button in the input manager, now I can reset the camera using the start button at any time. I'm updating soon, we'll see if it moved