hi guys,
Thank you for many replies, and I solved it, but I am concerned about is this solution good for all devices.
I want to invert mouse drug control of OrbitControls, so I changed controls.rotateSpeed for minus number.
like this:
var controlsrotatespeed = -0.15;
switch (device) {
case 'PC':
controlsrotatespeed = -0.15;
break;
case 'TB':
controlsrotatespeed = -0.4;
break;
case 'SP':
controlsrotatespeed = -0.6;
break;
}
controls.rotateSpeed = controlsrotatespeed;
It looks working, but I can’t judge this solution is good for any device.
Can anybody advise this?
Thank you