Destroying the scene.

Darkness

22-02-2006 19:51:50

I have a quick question. After I load the scene into my project, what's the best way to destroy the scene if I'm moving from one state to the next? Is there a call that can be used to do this?


-Darkness

Lioric

23-02-2006 23:40:17

If you want to load a different scene, then you can use the clear methods of the scene manager

If you want to set the scene to its initial state, then you can call again "createScene" method f you have not destroyed the OSMScene object, so you dont need to re-parse the file

So the answer to your question is, use the scene manager methods that better suit your needs in this case, a general prupose clean method was not created as part of the OSMScene lib because the scene clean methods and requirements differ from user to user