Hi,
So, i’ve created essentially a cutscene via animated sprites. It all works wonderfully. Now, what I’m trying to figure out how to do, is to remove the scene and it’s elements, and then create a new scene (ie: start of the actually level/game). I’ve read this topic: topic50.html
But I’m not sure this is working as I’d expect (I get segfaults). I basically try to recreate everything using the same pointers (scene_, cameraNode_, Octree, etc) but it segfaults. Do I need to somehow disable the viewport before doing all this? I’d like to remove the scene and it’s pointers completely, as after the ‘cutscene’ there is no need of the resources being used any more.
any help would be greatly appreciated.