Page 1 of 1

how do i destroy an IAnimatedMeshSceneNode?

Posted: Tue Nov 13, 2007 7:02 pm
by wREAKAILDRON
after ive fought with my characters and taken all their life away, what is the code to destroy the IAnimatedMeshSceneNode?

And what is the code to destroy an IAnimatedMesh as well?
________
Vapir oxygen

Posted: Tue Nov 13, 2007 8:12 pm
by arras
Use remove() with IAnimatedMeshSceneNode. It is inherited from ISceneNode.

For IAnimatedMesh use removeMesh() from IMeshCache. But may be it is sufficient to call mesh->drop().

Look API for more detailed description.

Posted: Sat Nov 17, 2007 2:55 am
by Yellow_Yackets
YourAnimatedSceneNode->remove();