MiToNiOeS
16-10-2006 17:02:42
hi, i have this code:
Well, now i wat remove this objets, how to can i to do this??
i have tried with this:
but my game crash, someone can help me??? thanks
...
...
Entinty *ent;
SceneNode *node;
Body *bod;
...
...
node->attachObject(ent);
bod->attachNode(node);
...
...
Well, now i wat remove this objets, how to can i to do this??
i have tried with this:
...
...
node->deattachAllObjects();
delete node;
delete bod;
...
...
but my game crash, someone can help me??? thanks