Code: Select all
IAnimatedMeshSceneNode* node = static_cast<IAnimatedMeshSceneNode>(original->getMesh()->clone());Edit: this code is working fine, the problem is
Code: Select all
node->setTransitionTime(.02f);Code: Select all
IAnimatedMeshSceneNode* node = static_cast<IAnimatedMeshSceneNode>(original->getMesh()->clone());Code: Select all
node->setTransitionTime(.02f);