this is my code
the effect is so good,
but when the node moved is error,
why? please help me.
///////////////////////////////////////////////////////////////////////////////////
IAnimatedMesh* mesh = smgr->getMesh("body.b3d");
IAnimatedMeshSceneNode* snode = smgr->addAnimatedMeshSceneNode( mesh );
effect->addEffectToNode(snode,EET_PHONG);
while(device->run())
{
driver->beginScene(true,true,SColor(0,0,0,0));
effect->getLightCamera()->setPosition(snode->getAbsolutePosition());
effect->setLightTarget(snode->getAbsolutePosition());
effect->update();
smgr->drawAll();
driver->endScene();
}
///////////////////////////////////////////////////////////////////////////////////
snode moved
![Image](http://www.jiedichina.com/moved.PNG)
snode not moved,postion is 0,0,0
![Image](http://www.jiedichina.com/no_move.PNG)
[/img]