Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: BlackWhopper on September 17, 2022, 02:57:54 AM
-
My goal is to have drift sparks/particles play when the player is drifting. Problem I'm having is all of the inputs and flow of actions works well, but after a certain amount of time the particles stop. I can enter and exit the states just fine, they'll play. They'll play if I swap between left and right drift. But it just seems like there's some sort of particle cap I'm hitting. If I drift all of the particles out of Left Drift, then nothing will appear when I try to right right. So its like they share the limit. To see if it was the particle system itself I removed it and just placed it in the scene. It played indefinitely, so I'm guessing its some sort of problem with the actions?
-
Hi.
Do you also have a particle system stop?
also can you show the particle system settings
-
I'm not sure what a particle system stop is, I tried the "Stop on exit" option in the Action, but that hasn't changed anything.
The only enabled parts of the particle system are what you see, nothing below other than shape and renderer are checked.
-
from what i can see
play on awake is on, you probably want that off. as it will play immediately
the particle system is set as loop so if you don't stop it, it will do continues looping.
the duration is 5 so, if you stop it takes 5 seconds to end the last particle
-
I've changed all of those, but nothing has changed. I'll attach a video of whats happening.
https://imgur.com/a/kap6Etf
-
Hi.
Try increasing the Max particles (double the size)
if it works longer it look like they are not de-spawning
so far i still think it has to do with some settings on the particle system.
if it came from a package double check if there are no scripts attached that for example destroy it after x time.
-
I've attached a video of the particle system during runtime. The Duration is set to 200
https://imgur.com/a/D3A8npQ
I can see that the color changes to black at some point, but I don't know what that means
-
does it have some script on it?
i don't think that should change by itself.
it best to look to some particle system tutorials to get more familiar with all the settings :)
-
Okay yeah, I totally forgot I had an old script that was also trying to play the particle system. My bad. Thank you for your help
-
Hi.
No problem, it happen to me several times :)