forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
使用 GLTFLoader 加载gltf文件后,报错
`
const gltfLoader = new GLTFLoader(); gltfLoader.load('https://threejsfundamentals.org/threejs/resources/models/cartoon_lowpoly_small_city_free_pack/scene.gltf', (gltf) => {
const root = gltf.scene;
scene.add(root);
}, (e) => {
console.log('loading')
});
`
报错提示为:XMLHttpRequest is not a constructor
Metadata
Metadata
Assignees
Labels
No labels