Particle collision

Hi !

I got an problem with my particle system, they pass through my ojbect i correctly setup my collision setting because the sub particle emiter work correctly so my particle correctly collide with my object but they they pass through … And continue to collide with my terrain were they are correctly stopped.

I make an gif to show you the problem :

Someone have an solution to make my particle collide and get stopped when they hit an object with an collider setup on an special layer ? Like they do with my terrain.

You should show what the Collision module on your particle system looks like. But one thought is that you might just need to make that collision box thicker. It’s possible the rain is passing through instead of colliding since it’s so thin.


Mixed = Defaut layer and Building layer

  • defaut for terrain
  • building for the 3D cube you can see on the gif

I try to change the radius scale from 0.01 to 1 but nothing change

Just to be clear, in your gif you have a very thin grey box above the ground. Some of the particles are colliding with it. Is the problem that not all of the particles are colliding with it? What if you make that thin grey box higher. like give it a y-scale of 10 or something?

I think they all colliding, but continue to pass through after they colliding, or yes maybe just some colliding and some not, yes the grey cube at 1 or 10 change nothing the result is the same

That seems pretty strange. And you’re sure you don’t accidentally have a duplicate particle system here that doesn’t have collision enabled? Nothing in your particle system seems wrong to me. So, I’m not really sure what it could be. I’d probably try turning off other modules, or make a new particle system with just the collision and gravity, and see if this affects all particles, or just this one.

Yes i’m sure … That’s really annoying because the rain pass through my building …

https://gyazo.com/c708d5f88d49dd2b491e127a208630db

But as you can see on the sloped roof some are colliding right but some not …

Well, that rain is moving really fast. Even with a thicker collider, I suspect some might miss the collisions entirely. What if you make the gravity, or the speed, or the particles much slower? Do they all collide in that case? Very fast small objects often have collision problems.

Mmmmh the speed is the same for the terrain collision so why they collide right with the terrain ?

Good question. No idea. Sounds like something subtle. I don’t have any other ideas, so you probably just need to trial and error until you stumble upon the answer. Good luck, and sorry I couldn’t help.

1 Like

I finally found the problem, it was the max collision shapes due to my snaping building system i have many collider box so i have increase the number have collision shape. Hope the performance will not be to broken.

https://gyazo.com/1f47952f4f38e7c28f01adc4d0ec5139

No rain under the roof anymore just sometime some pass maybe the speed of the rain but that’s right

2 Likes

Cool. Thanks for sharing the solution.