I'm having some issues with containers. I have a custom collision box for the enemy soldiers in my game. However, the box doesn't delete itself when each soldier dies. I added them to the same container, with the understanding that it would add the above functionality.
How can I fix this?