let GLTFLoader1 = new GLTFLoader();/实例化加载器/
GLTFLoader1.load(`/gltf/${data.pathName}/${data.pathName}.gltf`, (obj) => {
console.log(obj)
scene.add(obj.scene)
obj.scene.position.x = 0;
obj.scene.position.y = 0;
obj.scene.position.z = 0;
obj.scene.scale.set(4,4,4);
obj.scene.name = data.name
obj.scene.order = data.order
group.add(obj.scene)
})
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…