How can we change OrbitControls to PointerLockControls in model-viewer? #4225
-
I have a requirement where I am adding scenes to the web page. The scene is a room and PointerLockControls would perform better compared to OrbitControls to experience a completely natural interaction with the scene. Is there any way we can add that to model-viewer? PS: PointerLockControls - https://threejs.org/docs/#examples/en/controls/PointerLockControls |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can not add the |
Beta Was this translation helpful? Give feedback.
You can not add the
camera-controls
attribute and then implement your own pointer listeners and update thecameraOrbit
and such as you see fit.