Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: stereomike on November 05, 2014, 06:03:36 PM
-
Hey,
how can I reset the orientation of the OVR camera controller when a certain key is pressed?
I found this, but how would I implement that in playmaker?
Thanks a lot,
Mike
if (Input.GetKeyDown("left ctrl"))
{
OVRDevice.ResetOrientation(0);
}
-
They changed the API (and depreciated that code..)
https://developer.oculusvr.com/forums/viewtopic.php?f=37&t=16185
Here's a super simple action but I didn't test it. Let me know if it works.
-
Awesome, works right out of the box!
Thanks Lane!
-
Here to choose the key for HMD reset on Unity3D 5.3 Oculus runtime 0.8 :)