playMaker

Author Topic: Particle System limit?  (Read 597 times)

BlackWhopper

  • Playmaker Newbie
  • *
  • Posts: 5
Particle System limit?
« 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Particle System limit?
« Reply #1 on: September 18, 2022, 04:13:15 PM »
Hi.
Do you also have a particle system stop?

also can you show the particle system settings

BlackWhopper

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Particle System limit?
« Reply #2 on: September 19, 2022, 03:22:50 PM »
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.



djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Particle System limit?
« Reply #3 on: September 20, 2022, 05:40:00 AM »
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

BlackWhopper

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Particle System limit?
« Reply #4 on: September 20, 2022, 08:15:22 PM »
I've changed all of those, but nothing has changed. I'll attach a video of whats happening.

https://imgur.com/a/kap6Etf

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Particle System limit?
« Reply #5 on: September 21, 2022, 07:34:59 AM »
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.

BlackWhopper

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Particle System limit?
« Reply #6 on: September 21, 2022, 02:07:13 PM »
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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Particle System limit?
« Reply #7 on: September 22, 2022, 01:10:53 AM »
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 :)

BlackWhopper

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Particle System limit?
« Reply #8 on: September 23, 2022, 11:04:59 PM »
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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Particle System limit?
« Reply #9 on: September 24, 2022, 01:54:23 AM »
Hi.
No problem, it happen to me several times :)