cancel
Showing results for 
Search instead for 
Did you mean: 

Persistent 'forward' direction

diablosv21
Honored Guest
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?
12 REPLIES 12

diablosv21
Honored Guest
Cheers, looks like that section of the documentation has been updated:

If may very well be the case that the calibration values will work in other places or at other times in the same place. However, this is yet to be tested.


I would happily help test this possibility!

RaveTZ
Protege
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.

diablosv21
Honored Guest
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.