Problem with de gltf loading

hi guys! i am new in babylonjs. I have a problem loading gltf, glb, etc files “except obj”. simply these mentioned files do not load me since I need the animations of these and the obj do not accept the already mentioned.
SORRY. I DONT KNO HOW TO LOAD DE 3D MODELS in the playground.

greetings.

Welcome aboard!

Here’s a doc to help you loading external assets in the playground: Using External Assets - Babylon.js Documentation

1 Like

thanks. Currently more than importing to the playground, I am developing a site with babylonjs, but I cannot load the files in gltf format, it does not read them to me. I’m using the plugin for 3d max2019 and I can’t find the information. I want a truck, which is with a simple animation (movement), to load in localhost, but nothing happens.

var camion = BABYLON.SceneLoader.ImportMesh("", “models/”, “camion_anim.gltf”, scene, function(newMeshes) {

        });

You should check that your gltf is ok by trying to view it in the sandbox: https://sandbox.babylonjs.com/

Here’s a sample that does work: Babylon.js Playground