Oculus Rift Camera Offset.

HI all.

I recently returned to some DK2 projects that I made in the first half of 2015.

It seems there’s been some sort of changes to the Oculus Rift drivers, because now all of my old projects have these really severe vertical camera offsets.

If I calibrate the rift to put my default position in a particular place, then I keep my head exactly there, when I press play in Unity, the camera moves up pretty dramatically so that most of my GUI is off the screen.

Anybody encountered this before?

Thanks

Well, still no explanation for the mysterious camera offset. I can’t be sure if it’s something in the new drivers, or maybe some issue with trying to use a DK2 with the new drivers. Anyway, the work around is pretty straight forward for anyone else who encounters this problem. It’s a bit of a hack, but you can just reset the camera position manually at some point.

Import the Oculus Rift utils for Unity, instanciate the OVRDisplay, and call the RecenterPose function.

OVRDisplay display = new OVRDisplay();
if (display != null)
{
display.RecenterPose();
}