Well… Got another problem… But its hard to explain, so I’ll just sum it up.
Is there any known issues with the removeNode method? Do I need to call a cleanup after that? And if so, how does cleanup work?
Thanks alot guys.
Well… Got another problem… But its hard to explain, so I’ll just sum it up.
Is there any known issues with the removeNode method? Do I need to call a cleanup after that? And if so, how does cleanup work?
Thanks alot guys.
removeNode is clean up. What error are you getting?
Well… The thing is, theres no error. Thats the annoyance. It… just doesn’t disappear, the model. I can still see it, sometimes it even affects it as though it exists. Is there anything wrong with this code? Its my destroy code.
self.hp = 0
try:
del self.world.entityDict[self.entityNo]
except KeyError:
pass
self.model.removeNode()
for i in taskMgr.getTasks():
if (i.name.find(self.name) != -1):
print i
print "removed"
taskMgr.remove(i)
Off the bat I don’t see any problems… could I see your code for both loading and unloading?