Linetrace problem

Everything seems to be right. But i would use Line Trace for objects.

I am having trouble understanding my problem with this line trace. I have exactly the same setup on another weapon and the line trace fire out away from me show as a red line with a hit box at the end. However when the same setup is applied to this pistol the line trace shows as a green line shooting towards me with a hit box hitting me. I cannot understand this when it has working in my other blueprint perfectly. Can someone take a look at my BP and tell me if its right please. If so what is causing the above mentioned problem. Many thanks.

Why line trace for objects may I ask?

So I could shoot through glass with this?

The Multi Line Trace by Object, unlike the Multi Line Trace by Channel, does not stop at the first object it hits which is why the trace continues through the light to the cube.

Source:
https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/index.html

Exactly! :slight_smile: