UDK ParticleSystem Problem
        Posted  
        
            by 
                EmAdpres
            
        on Game Development
        
        See other posts from Game Development
        
            or by EmAdpres
        
        
        
        Published on 2012-09-16T13:52:43Z
        Indexed on 
            2012/09/16
            15:52 UTC
        
        
        Read the original article
        Hit count: 402
        
I use below code to create my particles ( in fact, I don't know any other way.)
spawnedParticleComponents = WorldInfo.MyEmitterPool.SpawnEmitter(ParticleSystem'ParticleName', Location, Rotator );
spawnedParticleComponents.setTranslation(newLocation);
...
And unfortunately, I spawn many particles in game.
When I play my game, after some time, I see Exceeded max active pooled emitters! Warning in console .
To solve the problem, first, I tried spawnedParticleComponents.DeactivateSystem();, But it doesn't help.
Then I try WorldInfo.MyEmitterPool.ClearPoolComponents(false);, But it doesn't either .
:(
How can I destroy many spawned particles and avoid this warning ?
© Game Development or respective owner