Hi,
I downloaded animation set from mixamo(.fbx)
Already i have 3d character with simple skeleton file(.glb),
Using three.js how can i add animation to this glb file
I tried using
https://github.com/mrdoob/three.js/ but i could not get specific example for this
I tried with this link Simple Character Controller (using Three.js/JavaScript) - YouTube there was no exact shared code example for this
Any help on this would be great !
FYI: code snippet
<html>
<body>
<div id="navbar"><span>Three.js </span></div>
<script src="http://threejs.org/build/three.min.js"></script>
<script type="module">
import {GLTFLoader} from 'https://server:8000/sm/loaders/GLTFLoader.js';
var scene = new THREE.Scene();
const loader = new GLTFLoader();
loader.load( './model.glb', function ( gltf ) {
scene.add( gltf.scene );
}, undefined, function ( error ) {
console.error( error );
} );
</script>
</body>
</html>
Pls suggest some example it woud be great
Thanks
vijay