- Home /
Camer angle of rift shifts on start
Hi there,
I am using the Rift extension and unity 4.5.5 free. I have set up a scene and I need the camera to be on the exact same position every time I run the scene. But every time the camera angle shifts to a random position.
I found the following script but I think it does not work anymore with the update of the rift extension for the free version of unity.
public class ResettingView : MonoBehaviour {
private OVRDevice ovrdevice ;
void Update()
{
if (Input.GetKeyDown ("Keycode.V))
{
OVRDevice.ResetOrientation (0);
}
}
}
It does not recognise OVRDevice nor ResetOrientation, so I guess it has been renamed in the updated extension.I couldn't find a substitute in the OVR script folder. All I could find was OVRManager.capiHmd.RecenterPose().Do I have to include something inorder to use the method above or is there a new method somewhere else.Thanks!!
Your answer
Follow this Question
Related Questions
Updating minor versions 2018.2.0 to 2018.2.1 and Unity Hub 0 Answers
Physics Update Problems 1 Answer
Text Not updating 1 Answer
Updating Unity and question 4 Answers
auto change script in published build 0 Answers