Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: shack on February 01, 2019, 03:56:15 PM

Title: Error with Particles
Post by: shack on February 01, 2019, 03:56:15 PM
Hey, is there any reason why particles wouldn't play correctly? I'm using "Particle System Play/Stop"

I have particles attached to a car. If I set them to "Play on Awake", they work fine, but I only want them to show up when the car turns left/right. So I connected them to the left/right keys using "Particle System Play/Stop" and they only work some of the times. From the very start, I can see particles, but if I drive for a little while and make a turn, they don't show up. But if I wait longer than those first few seconds, they show up every time i turn left or right. Is there something that would be maybe disabling them that I should be looking for?
Title: Re: Error with Particles
Post by: djaydino on February 03, 2019, 12:28:04 AM
Hi,
Have you tried disabling / enabling the particle object instead?

you can use the action "Activate Game Object" to Disable / Enable game object.

There is also an action called "Activate Component" on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)
which you can use to Disable / Enable the particle system component.