Line Trace Not Hitting Actor

Hey guys, I have another one. It appears my line trace is going straight through my AI Character, I use the line trace for instant hit so it isn’t applying any damage. I’ve attached the relevant screenshots. Any ideas what could make this happen?



2 Likes

The answer is that my mesh didn’t have collision blocking the visibility channel. A very stupid oversight!

1 Like

I have mesh in my level that blocks trace, but the trace line goes right through them. Can anyone provide insight?

In my case I accidentally had the line starting from the wrong object and ending at the wrong object. Had to switch them.

For me it was the box collider which I had to block the visibility channel! But the post helped a lot!