Forum Discussion
Gerald
13 years agoExpert Protege
how to reset the view?
When the game starts the Rift is assuming the current position is the start position. I would like to be able to override that in case you started at a bad position. But I am not sure what to call...
Gerald
13 years agoExpert Protege
perfect - works as I want it.
my game normally works with a camera looking into a fixed direction, so the drift was an issue as well as a starting position that did not work. this is now a simple and easy to do fix, many Leap Motion games will have the same issue.
now I can always reset it it by pressing a key.
if (Input.GetKeyDown("left ctrl"))
{
OVRDevice.ResetOrientation(0);
}
Thanks again Peter. I will look into how to integrate the new yaw correction at a later point. I am aware this is not the optimal solution. ;)
my game normally works with a camera looking into a fixed direction, so the drift was an issue as well as a starting position that did not work. this is now a simple and easy to do fix, many Leap Motion games will have the same issue.
now I can always reset it it by pressing a key.
if (Input.GetKeyDown("left ctrl"))
{
OVRDevice.ResetOrientation(0);
}
Thanks again Peter. I will look into how to integrate the new yaw correction at a later point. I am aware this is not the optimal solution. ;)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 3 years ago
- 1 year ago
- 4 years ago
- 6 months ago