Hey !
As a newbie in THREE.js, I’m enjoying a lot about creative coding. And I’m so happy to discover this forum, and this community. So first, thanks for this!
I’m working with React JS, and I’m wondering how to import THREE plugins, like TrackballControls. I only work with module imports, and even if I tried to import this TrackBall Controls, I still have a problem with import, that says : “‘TrackballControls’ is not exported from ‘three’”. So I’m pretty lost.
Of course, I tried to import this like :
import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls.js';
But, same issue with the same error message…
Does someone know the solution ?
Thanks a lot,
Corentin