I’m currently working on three.js with OrbitControls.js to make a camera control.
And I realized that an error I had never seen ever before occured since yesterday(or more?).
It seems that THREE.TOUCH.ROTATE is not anymore defined in the latest version of three.js…
Does anyone know how to fix this problem? I don’t know this website is the right place to post, but I’d appreciate if you could help me.
Some screenshots that relates with the error below
And console message
Uncaught TypeError: Cannot read property ‘ROTATE’ of undefined
at new THREE.OrbitControls (OrbitControls.js:82)
at init ((index):565)
and sorry about my horrible grammer.