Questions about actor spawn and destroy
xznkok
Member Posts: 33
Hi
I want to understand clearly about actor spawn and destroy.
Alot of people said spawn and destroy drain memory.
SO in my project, the first scene one actor shoots bullets to one enemy, when the bullets hit the enemy, I hide the bullets and put them in a corner(0,0) instead of destroy them.. when the enemy die, this round over and I reset the scene , and all the bullets of hide of last round is gone.
The question is, when I reload the scene , are the undestroyed bullets auto released of memory? or they are still occupying the memory ? I am confused
I want to understand clearly about actor spawn and destroy.
Alot of people said spawn and destroy drain memory.
SO in my project, the first scene one actor shoots bullets to one enemy, when the bullets hit the enemy, I hide the bullets and put them in a corner(0,0) instead of destroy them.. when the enemy die, this round over and I reset the scene , and all the bullets of hide of last round is gone.
The question is, when I reload the scene , are the undestroyed bullets auto released of memory? or they are still occupying the memory ? I am confused
Comments
i hope that helps