Forum Discussion
yrcloud
11 years agoHonored Guest
How to disable rotation tracking in sdk 4.3 in Unity?
Hi, I'm trying to disable the whole rotation tracking (not only camera based positional tracking) but don't know how in sdk 4.3. According to the "UnityIntegrationGuide", there should be two public bo...
molton
11 years agoExplorer
I think you want to comment this out of the OVRPlayerController script
DirXform.rotation = Quaternion.Euler(0.0f, YRotation, 0.0f);
transform.rotation = DirXform.rotation;
if (HmdRotatesY)
{
float hmdY = CameraController.centerEyeAnchor.localRotation.eulerAngles.y;
DirXform.rotation *= Quaternion.Euler(0.0f, hmdY, 0.0f);
}
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
- 2 months ago