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 tryed to import controls using : var orbitControls = new THREE.OrbitControls( this.camera,this.renderer.domElement);
so that I can rotate,zoom or pan on the THREE models like the "Teaport", but it doesn't work.
Is there any solutions?
The text was updated successfully, but these errors were encountered:
Yes, that won't work. The typical orbit (and other) camera controls will try to move the camera; any webxr setup will need the camera to follow the position of the real-world camera (HMD or phone).
You need to use a control that modifies a Object3D that is not the camera.
I tryed to import controls using :
var orbitControls = new THREE.OrbitControls( this.camera,this.renderer.domElement);
so that I can rotate,zoom or pan on the THREE models like the "Teaport", but it doesn't work.
Is there any solutions?
The text was updated successfully, but these errors were encountered: