- Home /
enable / disable particle system
hello, im stuck when trying to make my particle system turn off when the thrust button is no longer being help.. but then of course turn back on when I press thrust again..
Ive looked at other answers on similar problems but none of them seem to work, for the record its going into my "player" script, and the particle system is just parented to the aircraft exhausts.
If someone can help me out this would be great, thanks. Bizla
p.s I code in JS not C or boo
Answer by Jessica_Ann · May 25, 2012 at 06:49 PM
Have you tried in code to find your partile system and them get the emitter and turn it off and on again. So for instance:
ThurstButtonPressed { particlesystem.emitter.emit=true; }
ThurstButtonNotPressed { particlesystem.emitter.emit=false; }
Your answer
Follow this Question
Related Questions
Particle System rotate 2 Answers
How to create particle system on a collision? 1 Answer
Particle System, change the velocity by script 1 Answer
Script to scale particle system 2 Answers
My backpack script doubt 0 Answers