Mesh Doesn't Cast Line Trace

Hi I have a problem with my AI mesh which doesn’t cast Line Trace from player :

226289-zombiemeshcollisionthatdoesntcasttraceline.png

Hi I have a problem with my AI mesh which doesn’t cast Line Trace from player :
What do you mean by it? If if the line trace isn’t geting executed I can’t help you because I can’t seethe blueprint before it, how and when it gets called. If it gets called, but the spawn actor doesnt work(/properly) check if line trace result is false and/or cast to executes the cast failed output.

hi thanks for answering the line trace itself works because, i cutted the execute cable at cast failed z1 for the screenshot, and it cast for other oject to create smoke effect at impact

If i add a print string at the end it will show that it works and if I remplace Z1 by an other blueprint actor it will work too

It’s been 3 hours now that I’m comparing it with my backup of month ago which works and but is too old to replace the current game I can’t find what is the problem.

I’m not getting a hit against the ai, if i put a print string connected to hit actor it says the name of the road or the building behind the ai character.

WOW Awesome !!! changing the line trace on the camera instead of visible works !
Thank You !

1 Like

What im getting from this is that your not getting a hit against the AI character then? My first question would be if you put in a print string connected to the “Hit Actor” pin what does it return?

I would also try changing the line trace to check on the camera channel instead of visible temporarily. I was using a trace the other day in a similar situation and the character wasn’t set to block visible by default.