I've loaded a biped character mesh using colladaloader.
I can move the mesh by changing the position and rotation on the dae object.
dae.rotation.y+=0.01;
dae.updateMatrix();
works fine
But I can't seem to move individual bones.... any idea how do go about this?
dae.children[0].rotation.z += 0.1;
dae.children[0].quaternion._x += 0.1;
dae.children[0].position.x += 0.1;
dae.children[0].matrixAutoUpdate = true;
dae.children[0].matrixWorldNeedsUpdate = true;
dae.children[0].updateMatrix();
does not work
Entire project:
https://codenvy.com/ide/tmp-9q4s6enl9imzzs
Run link: (may change as people update / rerun the project)
http://app-slm37q4a3tzdf3c7.apprun4.codenvycorp.com/
(changes every time someone does a Run > Run application so no point having the run url listed here..)