Hi! I’m wanting to animate the bones of a skeleton in my project. I was reading the documentation, and found:
A bone can contain animations to animate its
matrix
property.
Yet, I can’t find a matrix property when I try to log it:
BABYLON.SceneLoader.ImportMesh(
"",
"/models/",
"mesh.glb",
scene,
function (newMeshes, particleSystems, skeletons) {
console.log(skeletons[0].bones[0].matrix);
}
);