Multi Line Trace only returns one hit

Hello

I am trying to do bullet penetration but as you can see, there is a problem wherethe node Multi Line Trace by Channel only returns one hit, the first thing it hits. I tried to follow the [example here][1] but it doesn’t work. You can see mine wont even go through the glass window.

http://puu.sh/dAle1/78dd24a63f.jpg

I’d expect it to get 3 more hits, when it hits the cube, the player and the wall behind. These 3 objects do get responses, whenever they get hit for the first time. So, i know they are getting hit.

This is the blueprint I have set up in my game.

http://puu.sh/dAlkw/a21c32b058.jpg

Thanks for the help guys!

Hi,

Multiline trace will return all objects that overlap, and will stop the trace when it sees at least one blocking hit. In your case you’ll probably want to use a channel other than visibility so that you can have objects that allow for bullet penetration to be marked as overlap instead of blocking.

Hope that helps

3 Likes

Thanks! I just changed to Multi Line Trace by Object.

I struggled to get my Line Trace and Multi Line Trace to target multiple things, but by Using Multi Line Trace for objects it returned more than 2 values and allowed me to proceed to destroying more than 1 item at a time when activated in the given direction.

1 Like