Hello hope everyone is having a nice day
Started using three.js recently and I managed to add a model from blender using the gltf format. I was wondering how would I add the animation I made in blender to my three.js site. Also first time posting here so tell me if i’m doing anything thats not cool on this post
_LoadModel() {
const loader = new GLTFLoader();
loader.load('./resources/NewIdea3.glb', (gltf) => {
gltf.scene.traverse(c => {
c.castShadow = true;
c.frustumCulled = false;
})
this._scene.add(gltf.scene);
});
// gltf.position.copy(100,0,0);
}