Download

How do I recycle actors?

I’m developing the game for iOS.
To prevent extreme slowdown by garbage collection, I recycle actors instead of destroying them.
When the “Hidden in Game” option on the actor is ON, the actor isn’t rendered. But the collision and event tick on the actor are active yet. So I need to turn off the “Generate Overlap Events” option and the “Simulation Generates Hit Events” option on the actor, and disable the Tick Event on the actor.
I think that this solution is not convenient. Is there another solution?

Thanks