Fr0stY
18-07-2010 01:58:19
How can I safely destroy an object created with the render system and make sure all memory is released correctly?
I'm making my character shoot KinematicBody's and I need to destroy them after a while... What function do I call?
I tried RenderSystem::destroyKinematicBody() and I'm still getting memory leaks so I need to make sure the problem is not on my side.
Thanks!
I'm making my character shoot KinematicBody's and I need to destroy them after a while... What function do I call?
I tried RenderSystem::destroyKinematicBody() and I'm still getting memory leaks so I need to make sure the problem is not on my side.
Thanks!