I'm at a loss, MotionCanvas does not allow me to do anything? #2781
Unanswered
luigimannoni
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this really basic scene, which I quickly laid out to test framer 3d, I use already framer for css transitions so I would like to keep an unique ecosystem for everything instead of mixing it up with other spring libraries.
The problem I am having (I am using nextjs, not sure if that matters) is that I cannot render anything inside the motioncanvas element, from basic meshes to the example below, what I get is a flurry of errors like these:
Error: R3F: OrthographicCamera is not part of the THREE namespace! Did you forget to extend?
Tried to swap few things (maybe ContactShadows from drei is not supported) and I get similar but equally worrying messages:
Error: R3F: BoxGeometry is not part of the THREE namespace! Did you forget to extend?
Error: R3F: PointLight is not part of the THREE namespace! Did you forget to extend?
Error: R3F: MeshBasicMaterial is not part of the THREE namespace! Did you forget to extend?
Error: R3F: Mesh is not part of the THREE namespace! Did you forget to extend?
and etc, etc
What I tried so far is to remove and reinstall the packages with the exact version framer-motion-3d expect but without any success.
Maybe there's a tiny thing I haven't noticed, I tried to follow the switch example on the website as close as possible.
Any ideas that'll put me in the right place?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions