Hi,
I used blender to export a collada file. I added 1 frame of
animation, in it's original pose, so i could use the
getAnimation("default").animation function. Then i create a bone and
try to animate it, but when i call update(Lib.getTimer() / 1000); the
model disappears
the code looks something like this
[code]
// init function
animator = monster.animationLibrary.getAnimation("default").animation;
bone = monster.getBoneByName("Shoulder_Left");
// end init function
// onPrerender function
bone.rotationY=(bone.rotationY + 10);
bone.rotationZ=(bone.rotationZ + 10);
animator.update(Lib.getTimer() / 1000);
// end onPrerender function