Quantcast
Channel: Latest Questions by hardmode2236
Viewing all articles
Browse latest Browse all 112

particle system stops normal emissions after .emit() is called

$
0
0
i have a particle system with an emission rate set to 3, its works up until i call its emit function with 25 particles. then it just stops, and nothing will turn its normal 3 emission back on except restarting the scene. if you would like to see the code its here: function Attacked(att:Attack) { if(att.type == "Kick" || att.type == "Blunt") { health -= 10; fireLight.range -= 1.5; fireLight.intensity -= .35; fire.emissionRate -= 6;//differant ParticleSystem } sparks.Emit(25); // this is the ParticleSystem in question } nothing special just an emit at that line does anyone know whats going on?

Viewing all articles
Browse latest Browse all 112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>