Skip to main content
Up and Coming
July 15, 2013

Persistent 'forward' direction

Each time a game/level starts up the 'forward' direction appears to be set to whatever direction you are looking at the time.

What I would like to do is just keep the direction constant, regardless of the Rift's position on start up. Digging through the code I can see that it's grabbing the game's expected start-up position (how it's set in Unity) and using it as an offset to get the Rift in Alignment, but I'd like to ignore this somehow.

Anyone know how to get this working?
    This topic has been closed for replies.

    12 replies

    Up and Coming
    July 23, 2013
    My solution is to have a short level at the start of my game that asks the player to look strait forward as a timer counts down to load the next level. When the next level loads I make the OVRcameraController a singleton so it doesn't reset level to level after that point.
    Up and Coming
    July 24, 2013
    That is the approach I'm going to take at the moment, but I would still really love to avoid the calibration process each time when I know the environment isn't changing.
    Scott Vandonkelaar Zero Latency - Inversion VR