Hi,
I need some custom functionality for the OrbitControls functionality. I assumed I can just copy that file (since it’s an example) and use that + modify it. However Im getting errors:
- ‘Control’ cannot be imported from ‘three’.
“Uncaught SyntaxError: The requested module ‘http://localhost:5174/node_modules/.vite/deps/three.js?v=242c72cf’ doesn’t provide an export named: ‘Controls’”
What would be a good way to avoid this?
In general it would seem to me that examples should be useable independent of the distribution, but that doesn’t seem to be the case for this example.