0 like 0 dislike
372 views
Is there a way to have a particle system trigger collision/ overlap events when colliding with another particle system/ trigger box in Unreal Engine 4 using PopcornFX? For example, having a water particle put out a fire particle upon colliding with it. On collision/ overlap it would destroy the fire particle actor and spawn a steam particle system.
asked by Amanda (140 points)

1 Answer

0 like 0 dislike
You cannot have overlap events of PopcornFX particles in UE4.

But to create the effect you describe, you could use Spatial Layers, which is a way to make particle-to-particle iterations.

For example, you can create an "Element" Spatial Layer where you'll insert your fire and water particles Position along with an "ElementID" to distinguish between fire and water. Then you can make each particle query/sample this spatial layer to react to nearby particles depending on their "ElementID".

Here are reference material on Spatial Layers:

- Spatial Layer documentation: https://wiki.popcornfx.com/index.php/CParticleSpatialDescriptor

- There are a few pkfx examples in the Release Highlight pack (demonstrated here: https://youtu.be/0FFku3Hs17c?t=267 )

- The UE4 PopcornFX Example Project's butterflies use Spatial Layer to burn/electrify/magic etc...

- The Plasma Ball tutorial uses Spatial Layer for another effect, but can help anyway: https://www.youtube.com/watch?v=JbvG9ufPMOs
answered by Jordan (14.6k points)
...