Loaded Model can be displayed.
But Cannot Load Animations.
I missed Export Model Settings? or Failed to import Model?
Help me, Please.
This is part of my code.
let game = document.getElementById("game");
let engine = new Engine(game, true);
let scene = new Scene(engine);
let fileName = "mini.babylon";
let meshName = "mini";
SceneLoader.AppendAsync("model/", fileName, scene)
.then( async() => {
const mesh = scene.getMeshByName(meshName);
console.log(mesh.animations); // this is []
})
.catch(console.error);
Always check the .log file for messages and export details. Looks like you are exporting skeleton animation. The log file should show this, in thiscase.