Why you don't make Scene::destroySceneGeometry()?

bunny2015

20-12-2010 01:23:47

My problem is i don't know how to destroy a SceneGeometry in NxOgre at runtime.
The NxOgre allow app to destroy SceneGeometry in dynamic?

thanks!

betajaen

20-12-2010 08:52:07

Because PhysX prefers that you don't. It upsets the solver, and makes the simulation unstable.

bunny2015

21-12-2010 14:13:29

thank you very much.
But in my app, I need dynamic destroy triangle mesh, What i use to implement this?

betajaen

21-12-2010 14:24:15

You can't. I'm not joking. No serious game engine does that.

If you need to destroy the Triangle Meshes, you need to destroy the Scene.