Forum Discussion
VivekD
11 years agoHonored Guest
OVRManager - Use Positional Tracking issue 0.4.3.1 beta
I think the Use Positional Tracking flag in the OVRmanager script doesn't work anymore. Tried it in a fresh project and it will ALWAYS use positional tracking data even if the flag is set to false.
Anyone else having this problem? Any workarounds?
Thanks.
Anyone else having this problem? Any workarounds?
Thanks.
6 Replies
Replies have been turned off for this discussion
- VivekDHonored GuestI found a way to disable positional tracking by commenting out the following code from OVRCameraRig.
leftEyeAnchor.localPosition = leftEye.position;
centerEyeAnchor.localPosition = 0.5f * (leftEye.position + rightEye.position);
rightEyeAnchor.localPosition = rightEye.position;
Posting it here incase anyone else has the same problem. I hope this gets fixed in the stable version. - cyberealityGrand ChampionGood catch. This seems like a bug to me.
- vrdavebOculus StaffOVRManager.usePositionTracking enables or disables the IR tracking camera. If you uncheck it, you will notice the blue light on the camera turns off. But it does not disable the head model, so rotating your head will still cause small position changes. Is that causing a problem? We'll add an option to disable it in a future release.
- viewportProtege
"vrdaveb" wrote:
OVRManager.usePositionTracking enables or disables the IR tracking camera. If you uncheck it, you will notice the blue light on the camera turns off. But it does not disable the head model, so rotating your head will still cause small position changes. Is that causing a problem? We'll add an option to disable it in a future release.
Same here, positional tracking value off doesnt work, it is allways tracking the position relative to the camera (not talking about neck model.) - cyberealityGrand ChampionOK, a bug has been filed. Thanks.
- soyliquidHonored GuestI also this problem has occurred.
I was dealt with insert follow code at end of Start() in OVRManager.
tracker.isEnabled = usePositionTracking;
OVRManager.cs:462 has problem?
---OVRManager.cs:243
public bool usePositionTracking = true; <-- it can change to false from inspector.
---OVRManager.cs:280
private static bool usingPositionTracking = false;
---OVRManager.cs:460
private void Update()
{
if (usePositionTracking != usingPositionTracking) <-- when each value is false, tracker.isEnabled value is not changed even tracker is enabled.
{
tracker.isEnabled = usePositionTracking;
usingPositionTracking = usePositionTracking;
}
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