问题描述
我的代码是这样的 my full coding screenshot
<a-scene embedded arjs='sourceType: webcam; debugUIEnabled: false;'>
<a-gltf-model src="/website/models/pixel_art_mouse_cursor/scene.gltf" position='0 0 -8' scale='0.5 0.5 0.5'>
</a-gltf-model>
</a-scene>
我在这里下载此gltf模型 https://sketchfab.com/3d-models/pixel-art-mouse-cursor-7cc4bad913b74b48b86d8d05e2785b9c 我的控制台无法加载 error screenshot
谢谢
解决方法
尝试使用全局URL,如下所示:
<a-gltf-model src="https://rawgit.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF/DamagedHelmet.gltf"></a-gltf-model>