has no member...
Posted: Sun Dec 23, 2007 8:31 pm
code:
and i want, if animation end, set animation speed to 0
but compiler write error
class irr::scene::IAnimatedMeshSceneNode' has no member named 'getEndFrame'
but this class has getEnd member...
thanks
Code: Select all
IAnimatedMesh* mesh = smgr->getMesh( "model.ms3d" );
IAnimatedMeshSceneNode* gunNode = smgr->addAnimatedMeshSceneNode( mesh );
Code: Select all
if(gunNode->getEndFrame()== gunNode->getFrameNr())
{
gunNode->setAnimationSpeed(0);
}
class irr::scene::IAnimatedMeshSceneNode' has no member named 'getEndFrame'
but this class has getEnd member...
thanks