I need my character model holding a rotating device on his hand, but as tutorial, I only make it hold a "static" device, not animated one, I have to chose between:
C OrientM *hand = character.skel.getSlot("mySlot");
Matrix matrix;
matrix.setPosDir(hand.pos, hand.perp, hand.dir);
device.mesh->draw(matrix);
//this only draw hold device mesh, but can not draw animated one
and:
device.mesh->draw(device.skel);
//"device" is an animatable object and has proper skel animation in virtual bool update();
Please, give me some clue to solve my problem, thanks