Sue
4
I wrote like the following and it worked! Thank you so much.
import { clone } from "three/examples/jsm/utils/SkeletonUtils.js";
const locations = [
{ lat: 49.285804, lng: -123.119927 },
{ lat: 49.286704, lng: -123.129184 },
]
loader.load("/low_australian_shepherd/scene.gltf", function (gltf) {
for (let i = 0; i <= locations.length; i++) {
const cloneGLTF = clone(gltf.scene);
scene.add(cloneGLTF);
}
});