osg::Group* group = dynamic_cast<osg::Group*>(node);//
osg::AnimationPathCallback* animPathCallback1 = new osg::AnimationPathCallback();
for (unsigned int i=0;i < (group->getNumChildren());i++)
{
if (group->getChild(i)->getName() == "Node you looking for")
{
if (dynamic_cast<osg::AnimationPathCallback*> (group->getChild(i)->getUpdateCallback()))
{
animPathCallback1 = dynamic_cast<osg::AnimationPathCallback*> (group->getChild(i)->getUpdateCallback());//取到动画属性
animPathCallback1->setPause(true);//动画暂停