IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
IAnimatedMesh* mesh = smgr->getMesh("../Monster3/Monster3_forirrlicht.md2");
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode(mesh);
if (node)
{
node->setScale(core::vector3df(14,14,14));
node->setMaterialFlag(EMF_LIGHTING, false);
node->setMD2Animation("death");
node->setMaterialTexture(0, driver->getTexture("../Monster3/Monster3_Albedo.jpg"));
}
Each of the different animations would be invoked like this:
node->setMD2Animation("salute");
node->setMD2Animation("stand");
node->setMD2Animation("loading_run");
node->setMD2Animation("run");
node->setMD2Animation("attack");
node->setMD2Animation("death");

Download:
https://drive.google.com/file/d/1YDBodg ... sp=sharing
CC0...