Hi,
I am trying Two finger Panning on touch devices on my globe material to rotate using TrackballControls.
I can not use two fingers to change position.
Is there a way to using 2 fingers (i.e Using trackball controls) to change globe position?
This functionality is similar to what we have on google maps . I see that 2 finger-based touch is already used for rotate .
https://www.awesomescreenshot.com/video/8328615?key=6c076d9c63bc2a6faaccb723fd970ec8
here is my code.
var controls = new TrackballControls(camera, renderer.domElement);
controls.minDistance = 3.4;
controls.maxDistance = 3.5;
controls.panSpeed = 5;
controls.rotateSpeed = 2.5;
controls.noPan = true;
Thanks
Mamun
What exactly do you mean by globe position?
There is OrbitControls with the possibility of changing the two finger touch gesture:
controls.touches.ONE = TOUCH.PAN
controls.touches.TWO = TOUCH.DOLLY_ROTATE