WebXR: camera's position not changing when using OrbitControls

Hello John
:thinking:
I meant that the function animate has to call upon itself, whereas in your case it is only called once.
Now I see that you don’t actually need to use the function animate
It’s possible to use either setAnimationLoop or requestAnimationFrame, but not both!

For a better explanation you can read this thread:
Is there a performance difference between requestAnimationFrame() and setAnimationLoop()? - Questions - three.js forum (threejs.org)

Best regards

1 Like