Download

Niagara - sample just portion of static mesh

I have a particle dissolve effect working in Niagara.

The issue is that the effect happens to the entire mesh.

I am using a ‘Sample Static Mesh’ module under Particle Spawn.

What I need to have happen is for the effect to transition instead across the mesh.

If you picture a horizontal cylinder I want the cylinder to particle dissolve from left to right.

Is there any way to accomplish this in Niagara?

Of course. In Niagara, you have access to almost all the same functionalities of material editor, and therefore you can fully duplicate material dissolve logic in niagara script, which runs on spawn. Then, it is a matter of checking if random position, that was assigned to particle, is withing valid threshold range from dissolve effect, and if not, kill the particle.

ok thanks!