Got some problems regarding OrbitControls and rotation.
I´m using OrbitControls but cant seem to get the camera to rotate around the "new" center after panning.
Hoping for some help in the right direction!
Using orthographic camera based on the following example. https://threejs.org/examples/misc_controls_orbit.html
Im creating the controls as follows:
controls = new THREE.OrbitControls( camera, renderer.domElement );
controls.enableDamping = true;
controls.dampingFactor = 0.25;
Here´s an code example jsfiddle.
Thanks in advance!
//Robert