You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that "orbitControls" is a property of a Scene, and it works fine. Is there any way to use PointerLockControls ? I tried using this module: https://www.npmjs.com/package/three-pointerlock
and although I can probably pass it as "orbitControls" since the function's signature is the same, I can't call "controls.update(1)" in the render loop, since I do not have easy access to the instance of PointerLockControls which is created by react-three and stored in its internals.
Can you please point me in the right direction ? Maybe there is another module which is compatible with it ?
The text was updated successfully, but these errors were encountered:
I noticed that "orbitControls" is a property of a Scene, and it works fine. Is there any way to use PointerLockControls ? I tried using this module: https://www.npmjs.com/package/three-pointerlock
and although I can probably pass it as "orbitControls" since the function's signature is the same, I can't call "controls.update(1)" in the render loop, since I do not have easy access to the instance of PointerLockControls which is created by react-three and stored in its internals.
Can you please point me in the right direction ? Maybe there is another module which is compatible with it ?
The text was updated successfully, but these errors were encountered: