What scenario do you suggest to spawn many short-life objects like bullets for example. In meaning of optimalization, I’m worry about memory wasting and fragmentation.
So typical scenario:
def Load(self):
self.model = loader.loadModel("bullet.egg")
def Shoot(self):
self.model.copyTo(render)
#..start moving here..
def End(self):
self.model.removeNode()
Do you think that python is good enough to hadle this scenario or maybe better prepare e.g. 200 copies of bullets which always resides in memory and make them visible/unvisible only ?