Is there a way to have particles spawn and die only within the confines of a mesh?
Like If I wanted to simulate dust motes illuminated by a lamp using a spotlight component, I'd want to make a cone shape in which the particles spawn, and die within the time limit or when colliding with the wall of the cone. Thanks.
asked Jul 30 '14 at 02:29 AM in Using UE4
Hey swiss_cheese9797 -
The most efficient way to achieve this effect would be a singular cone or billboarded plane with a material like the one below assigned to it would generate a good limited dust effect. You could always use the timing of your particle system to try to get something like a cone in Cascade, but you will loose a lot of the random motion which sells the dust effect itself.
For something with a large scope so like a factory industrial light where the cone is really large you could do a triggered effect tied to your character's movement so you span the dust motes when in the cone and have them fade out when you are out of the cone.
For a smaller scale like a table light or a spotlight in a limited size (like in an office) modeling a small cone with no top or bottom and applying the material below to it would give you a much better effect. You will have to spend some time working on your texture to make sure that your dust particles look the way you want them to and that your fading mask fades as you need it but it will be processor friendly and give you the desired effect.
Thank You -
answered Jul 31 '14 at 03:48 PM
Lovecraft_K ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here