작성
·
153
답변 1
1
아래 질문과 마찬가지로 요소들이 제대로 로드가 안되었을 수도 있을 것 같은데요-
gltf(glb)를 로드할 때, 메쉬 대신 scene 자체를 add 해보시면 어떨까 싶습니다.
gltfLoader.load(
'/models/myroom.glb',
gltf => {
console.log(gltf.scene);
// const ilbuniMesh = gltf.scene.children[0];
scene.add(gltf.scene);
}
);