Box/Line trace collisons

Hi,

I am trying to do a Niagara laser beam that collides with an enemy and then applies damage.

Apparently Niagara elements can’t create events on collision, so they can’t apply damage…

I’ve been experimenting with spawning a line/box tracer when my bean is fired. So far it works well, I can apply damage and kill enemies, the only problem is that the beam does not stop on collision and I was wondering if there is a way to make this work?

Any suggestion on how to create this effect will be more than


welcome.

Cheers

Can you screen the node you’re using for tracing?
If it’s a trace for object then your cube need to have the right object type, if it’s a trace by channel then it needs to block the right channel.
Have a look at this first:

And then read this:
https://www.unrealengine.com/en-US/blog/collision-filtering

Depending on the node you’re using (trace by channel or for object), you should check under Collision on your Cube and set things properly based on what you’ve read :slight_smile: