Replies: 1 comment 1 reply
-
you can't do that in threejs, primitive mounts an existing object into the scene and a mesh can only be in one place. the solution to this is gltfjsx. see https://codesandbox.io/s/re-using-gltfs-dix1y this will also take care of that evil traverse mutation thing, with gltfjsx you can directly change props. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
three
version: 0.134.0@react-three/fiber
version: 7.0.17@react-three/drei
version: 7.22.6node
version: v14.17.3npm
(oryarn
) version: 6.14.13Problem description:
How to load out 3 cars
Relevant code:
Suggested solution:
help @drcmda
How to load the same 3D model, is there an example ???
Beta Was this translation helpful? Give feedback.
All reactions