Code: Select all
ISceneNode *nd = smgr->addAnimatedMeshSceneNode(smgr->getMesh("level.3ds"));
nd->setMaterialTexture(0,driver->getTexture("wall.jpg"));
nd = smgr->addAnimatedMeshSceneNode(smgr->getMesh("pole.3ds"));
nd->setMaterialTexture(0,driver->getTexture("wall.jpg"));
nd->setPosition(vector3df(0,0,0));