x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Rain Collision problem with Particle System

So I just made a particle system for rain and it looks and works great so far. I tested it out and when I was testing it inside of a building it goes through my walls and ceiling as you can see from this first picture.alt text But if i look up towards the ceiling there is no rain. I am using a collision (Scene Depth). alt text

Product Version: UE 4.7
Tags:
more ▼

asked Jul 26 '15 at 05:42 AM in Using UE4

avatar image

vashy777
1 1 2 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

This is because scene depth collision uses screen depth, in other words particles collides only with what you see. In the first screenshot you almost not looking at the ceiling, so there is no obstacles for particle up there. In the second ceiling is blocking particles only because you watching it.
There is no solution for this problem where you can still use GPU particles. Actually you need CPU particles, if you don't want them to go through pixels you can't see.

more ▼

answered Jul 26 '15 at 05:00 PM

avatar image

HungryDoodles
495 29 24 40

avatar image vashy777 Jul 26 '15 at 07:23 PM

Thanks, that does make sense but I have no idea how to use CPU particles, i am still pretty new to the program.

avatar image HungryDoodles Jul 27 '15 at 06:13 AM

CPU particles are thouse particles, that not GPU. Look at this screenshot:
Image
Emitter at the left is GPU particles, because of it's data type (right click on "GPU Sprites" to change). Emitter at the right is CPU particles, because it's not GPU particles. Difference between GPU and CPU particles in perfomance. My GPU can hold 0.5 million particles at 60 fps. But for CPU it's only about 50-100k. But GPU uses only scene depth collision, while CPU uses actual colliders in scene.

screenshot_2.jpg (281.7 kB)
avatar image Akuna Jan 19 '16 at 06:10 PM

If we can't use a CPU because it has a limit 1000 (too small) and we can't use GPU because particles pass through a wall when you don't look at the particle spawner, what to do with rain and snow? How to make them properly with large ammount of particles (about 30k)? Thx!

avatar image HungryDoodles Jan 20 '16 at 09:05 AM

Well, now (UE 4.10) GPU particles has an option which enables distance field collision (in collision module). You need to "Generate distance fields" in Render settings of your project to make this work. This will enable collision for particles even if you don't see the collision surface. Not working with BSP by the way. Usually there is no actual collision, there is only volumes, that kills particles. I mean if rain drop tries to go through wall it falls into killer volume and disappears. But now machines became more powerful, so now we can use collision in that case.

avatar image Akuna Jan 20 '16 at 05:02 PM

Many thanks! Perfectly works with mesh. If you know different ways to make good snow or rain effect, pls, let me know.

avatar image vashy777 Jul 27 '15 at 06:23 AM

Alright thank you very much. :P

avatar image buscas31 Aug 06 '15 at 12:35 AM

Thanks for the information, now my emitter colides!!!! :D

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question