You are not disabling the camera but OrbitControls
in these event listeners. Just do it like in the official example of THREE.DragControls
.
I’ve already ported the code to a fiddle for you and change from TrackballControls
to OrbitControls
.
You are not disabling the camera but OrbitControls
in these event listeners. Just do it like in the official example of THREE.DragControls
.
I’ve already ported the code to a fiddle for you and change from TrackballControls
to OrbitControls
.