void CSceneNodeAnimatorRotation::animateNode(ISceneNode* node, u32 timeMs) from CSceneNodeAnimatorRotation.cpp to this one:
Code: Select all
void CSceneNodeAnimatorRotation::animateNode(ISceneNode* node, u32 timeMs)
{
if (node)
{
core::vector3df NewRotation = node->getRotation();
NewRotation += Rotation* ((timeMs-StartTime)/10.0f);
node->setRotation(NewRotation);
StartTime=timeMs;
}
}