Particle System Change?


#1

Hey Fellow PlayCanvas people!

I have noticed, that lately Particle Systems seem to behave differently ? An Explosion for example does some kind of weird laggy thing which wasn’t there before. The direct reference is when you look at: https://developer.playcanvas.com/en/tutorials/explosion-particle-effect/ Everything is fine. Even when you press play on the Project: https://playcanvas.com/project/439297/overview/explosion-particle-effect

But if you go into the Editor and press play there, then the thing becomes weirdly laggy. I guess the build was done on an older version hence no lagginess. But if you press play in the editor you render it with the latest version. I have noticed this in a game I am producing and it’s really sad, because the explosions just simply look bad like this.

Any suggestions why this happens ?


#2

I had the same issue, I have it on the list to post an example project this weekend ( basically the same explosion assets and settings moved to a new project, and not working ). I’ll move it up the list.


#3

There was a few recent changes to the particle system that may have caused this:


@will Any ideas here?


#4

I’m just starting to put some time aside to find and report bugs.

In this example, the first thing I noticed is that the 8x8 grid is being drawn in the wrong order.

In the texture below…

8x8grid

… the texture system should be drawing from 1-8, 9-16, 17-24, 25-32 etc.

Instead, it’s drawing from 57-64, 49-56, 41-48 etc.

So, instead of…

  • drawing each row starting from the top, moving left to right, and them moving down
    its…
  • drawing each row starting from the bottom, moving left to right, and then moving up.

You can see the effect in the forked project below, I created a new particle system using the texture above.

https://playcanvas.com/project/609365/overview/explosion-particle-effect--fork

This explains some of the weirdness, but I’ve a feeling other things are broken too. I’ll try to put some time aside tomorrow as well to find out more.


#5

OK, I’ve updated the example at the link above to show the other issue I’m seeing, when trying to position particles.

Here’s the published link, which is showing the same issues.

Press the ADD button in the top left, and two particle systems ( explosion, and a copy of the number counting down ) will be placed in one of four random positions.

Note how some of the particles seem to “glitch”


#6

Thanks for the really nice example!

Clearly something is wrong with the particle system >.<