how do i destroy an IAnimatedMeshSceneNode?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
wREAKAILDRON
Posts: 38
Joined: Tue Aug 21, 2007 6:54 pm
Contact:

how do i destroy an IAnimatedMeshSceneNode?

Post 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
Last edited by wREAKAILDRON on Tue Feb 22, 2011 6:57 am, edited 1 time in total.
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post 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.
Yellow_Yackets
Posts: 29
Joined: Thu Oct 25, 2007 5:58 pm
Location: Florida
Contact:

Post by Yellow_Yackets »

YourAnimatedSceneNode->remove();
Y_Y
Post Reply