Using the Gizmo-Manager in VR (only in VR) the Gizmo rings seems to flicker between hovering (yellow) and not hovering (its ring color) at a fairly high frequency as if it is constantly selecting and deselecting the nearby ring. When you then try to grab the gizmo, it is a matter of luck (~50% chance) whether you succeed or not to actually grab it. Here is a playground demonstrating the issue. Note that I could only see this problem on a Pico 4 and not on the emulator, which does not seem to support hovering via the pointers at all. Any ideas how to fix it or create a workaround?
I am reposting this question from Rotation Gizmo Sensitivity here, since I think the old thread is stale and potentilly no one looks at it any more.
I dont quite understand. The flickering is only seen when you hover the pointer over it. So why would the stereo camera rig cause the problems? But yes, it is possible I guess.
The playground
is fairly simple, I would say. The problem is that you need a VR set to test it. Did you mean, whether there is a way to reproduce this without a VR set? Not sure. Maybe the VR emulators could show the effect, but I did not see it yet.
I think the issue is related to the `GizmoManager`. I should test this again, but I think the ordinary rotation gizmo creation is fine also in VR.
That’s my guess. I don’t have a VR headset so to test/debug, I need a reliable way to repro.
If the bug appears with the manager but not with position, scaling or rotation gizmo then it might be related to the utilitylayer. Something like camera in use is not forwarded properly.
Thanks! Did you manage to see the problem? I tried `xr.camera.rightCamera.setEnable(false)` but this did not have the desired effect and also did not change the flicker problem.
Hmm, ya and using utilLayer in the gizmo manager makes it work correctly in VR, too …so the problem only happens when the default utility layer is used for the gizmo manager.