I have a model in gltf that I am loading from url which contains some animation. But the problem is that the animation on it are not playing. I have tried everything want I could do but couldn’t found a way to run them.
This is the pic of the model and animation I am loading.
In GLB it is working but not in GLTF.
I load the GLB model by
this.app.assets.loadFromUrl(url, “container”, function (err, asset) {});
I load GLTF model by
this.app.assets.loadFromUrl(url, “json”, function (err, asset) {});
also using the playcanvas-gltf.js file and using the “loadGltf”.
But I found that the animation objs are made different in both cases.
In GLB case
In GLTF case