Some projects that used to successfully use OrbitControls are now throwing an error. When included with
https://threejs.org/examples/js/controls/OrbitControls.js the following error is printed in the console:
TypeError: THREE.TOUCH is undefined[Learn More] OrbitControls.js:82:19 OrbitControls https://threejs.org/examples/js/controls/OrbitControls.js:82
This is not the case if OrbitControls is included with, for example
What is the new correct way to include OrbitControls in a project?