A-frame gltf could not found

65 views Asked by At

my code is like this 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> 

I download this gltf model here https://sketchfab.com/3d-models/pixel-art-mouse-cursor-7cc4bad913b74b48b86d8d05e2785b9c and my console could not load it error screenshot

Thanks

1

There are 1 answers

0
Andy Jazz On

Try using global URL, like this:

<a-gltf-model src="https://rawgit.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF/DamagedHelmet.gltf"></a-gltf-model>