wraith
19-07-2009 05:14:29
I'm just wondering if there's a "correct" way to dispose of bodies? I'm a little concerned about destroying them at the wrong time and causing errors. Right now I'm just using the RenderSystem to destroy them when I'm done.
I've read in the Nx documentation that deleting bodies inside the contact report is inadvisable, so when should it be done? Is there something else that should be done instead?
OGRE3DRenderSystem::destroyBody(OGRE3DBody);
I've read in the Nx documentation that deleting bodies inside the contact report is inadvisable, so when should it be done? Is there something else that should be done instead?