Skip to content
card background pattern
Level 3

React 3D

Unlock Full Course

$49.99 $39.99



Orbit Controls

Now that we have our first cube made, it is time to make it better by first making it so that we can change the rotation and position of our cubes. After that, we will expand our possibilities even more by adding orbit controls.



User photo avatar
3 months ago

@Didier Do you have your code up in a repo/sandbox so I can take a look at it? Hard to tell where the error is by just looking at that error

User photo avatar
updated 3 months ago

I keep getting this error when importing OrbitControls: I should note I've thoroughly checked my code for syntax errors, but it's completely free of those.

I'm using Next.js, but I don't think that should matter. Any ideas?

Something to say?

Become a Pro