Giving mesh children #411
kennetpostigo
started this conversation in
General
Replies: 1 comment 2 replies
-
yes, meshes are also just object3ds, you can nest them as deeply as you like https://codesandbox.io/s/r3f-basic-demo-bllyk if it works in threejs, it must work with r3f. im guessing you just dropped something and it didnt show, that's probably because both meshes were at the same spot. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i'm new too R3F, and I was following some threejs tutorials while using R3F, but there was a portion of the tutorial that I couldn't get working in R3F the same way it would be done in threejs.
That was adding other meshes to existing meshes
I couldn't get a nested mesh to render within another mesh directly, so what I ended up doing was:
Is it possible to put 1 mesh with geometry and material as a child of another mesh with geometry and material in R3F?
Beta Was this translation helpful? Give feedback.
All reactions