I just realized what a long list I have to make in order to destroy the models I don’t need to use anymore. I remember reading that the objects remove themselves when no longer in use. However, I want to remove them at once. Is there any way I can remove multiple objects all at once without using a long list?
Models, once parented to render (or any other persistent NodePath) do need to be explicitly removed.
But you could parent them all to a common node, and just remove that node instead.
Thanks. Could you give me a code to parent to a common node. I am still learning, and my internet use is limited.
Not sure what question you’re asking, exactly, but the reparent operation is fundamental to Panda’s scene graph.