Hey, it has been sometime, but I have developed my game to a point where one scene is not going to cut it, first, I want my game to feature multiple playable characters that you can play as at different points of the game, so I was wondering how would I implement this?
I have looked around in the forums for while and came up with a method, this method involves taking a variable and assigning it to a variable assigned as a node, example.
model = Actor("folder/model.egg)
self.node = model
it worked at first, but then when I want to assign the node to a variable that is of a different model using the equal sign, panda3d gets glitchy, did I do something wrong? is this a good method? I was also thinking of using empty collision node with a simple collision sphere and just reparent the models to that node when I want to use them as a alternative but it has it’s problems.
I wanted to ask if I did anything wrong or there is a better way to load in new content or reload old content, this is also important as I want my game to feature multiple levels/scenes, I know that panda uses a empty cartesian space, so adding in or removing models would be the way, but I need to do this while the game is running.
I researched that panda3d featured “toon town” a game disney made, and though I never played it, from a few videos, it feature loading of different areas, so I know this is possible in panda3d, I’m just wondering if I,m doing it wrong or if there is a proper way to do this.