Forum Discussion
pdq72
7 years agoHonored Guest
Game view seems to ignore CenterEyeAnchor position from OVRCameraRig
So I am overriding the following code in the OVRCameraRig (line 180)
centerEyeAnchor.localPosition = centerEyePosition where centerEyePosition is a new calculation. This new calculation applies a translation gain along the forward axis.
This calculation seems to work as I am getting the desired result during editor play mode: 1) the camera gizmos show this new gain in scene view, and 2) the camera preview window also shows the new gain; however, the game preview window does not, nor does the view in the HMD (using CV1).
I am at a total lost. It seems that the game (and HMD) view ignores centerEyeAnchor.localPosition.
Using Unity 2018.4.6 and Oculus 1.39
Any ideas?
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
- 2 years ago