-
I love 0xca0a's examples but I was wondering if there were some more simple implementations of both Instances and Merged. I tried to implement a very basic example of Merged and failed here:
I was basing it on the example in the docs: https://github.com/pmndrs/drei#merged And maybe this should be a separate question but I was wondering if there were other patterns for manipulating instances than the one in the shoes example - where there is a useFrame on each instance. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
meshes is an array or an object collection of THREE.Mesh. not components rendering a three.mesh, but the real thing, existing meshes. for instance the output of "nodes" when you load a gltf. here's a pretty simple instances example: https://codesandbox.io/s/floating-instanced-shoes-h8o2d |
Beta Was this translation helpful? Give feedback.
-
Hello, I would like to create an How would you proceed please? |
Beta Was this translation helpful? Give feedback.
meshes is an array or an object collection of THREE.Mesh. not components rendering a three.mesh, but the real thing, existing meshes. for instance the output of "nodes" when you load a gltf.
here's a pretty simple instances example: https://codesandbox.io/s/floating-instanced-shoes-h8o2d