title: THREE.JS how to move the bones of a SkinnedMesh?
body: <p>I'm working on a 3D project using THREE.JS and I want to animate a simple minecraft like character.</p>
  
  <p>To do so, I exported one from Blender (with bones) and I render it with THREE.JS using the SkinnedMesh class.</p>
  
  <p>I tried everything to make the arm of the mesh to move but I can't figure out how to do it. I tried changing rotation, position, matrix and also setting all flag to true (like  matrixWorldNeedsUpdate but the arm did not move).</p>
  
  <p>Here is a sample code:</p>
  
  <pre><code>var meshBody = new THREE.SkinnedMesh( geometry, materialTexture );
  
  ...
  
  animate = function(){
      meshBody.bones[3].rotation.z += 0.1     
      meshBody.bones[3].matrixAutoUpdate = true;
      meshBody.bones[3].matrixWorldNeedsUpdate = true;
  }
  </code></pre>