How to draw lines between particles in Niagara using Blueprint?

Hey! I’ve set up a Niagara system where I get the particle positions into Blueprint. Now I’m trying to draw visible lines between nearby particles, not using debug lines, but actual rendered ones for visuals.

I tried spawning line actors in Blueprint and setting start/end points, but I’m a bit stuck on how to properly pass the positions and connect them. Is there a better way to do this?

Here some screenshots of my Niagara System:



Now i have tried to get the location data to draw a mesh between the points …

looking forward to any hints!

Update:
A blueprint (BP_LineActor) which just create a cylinder between two points.
The blueprint (BP_ParticleConnector) to draw the cylinder based on all the points given from the particle system. Here I am trying to manage to get the two unique particles to draw the lines between them.


1 Like

What about ribbons?

From my understanding ribbons are just one continous line, I am trying a more arbiatrary method where all particles can connected with each other

1 Like

Yes, you have to make one ribbon for each line. Just like you would for a simple laser beam

I see! And how could I tell it start and end point based on the locations of my other niagara system particles?

1 Like

That’s the question, isn’t it? :rofl:

I know you can, but you might well have to write your own scratch module…

yeah thats why i am asking :sweat_smile: :joy:

1 Like

Right, but up until now, you were trying to put meshes in there. Now you know you can do it with particles :wink: