Help: Line Trace Weapon from AI Bot

Hi All

I am looking at running a Trace Line Weapon on my AI BOT.

I have added a camera for easy reference.

Now the line trace seems to either go either side of me or straight through me. No sure which.

Here is my Rotate

Here is my Line Trace

113d51abd9ee0f24a9cb14a2c1d864f1b37e3b26.jpeg

Here is my sad results.

e93a21e1a29fc4516e611bb40b246e737f7f14ed.jpeg

52b7a300b05bb4f9fc050adb1117317738ce52fe.jpeg

Thoughts

Narg

Should you be using OnHitActor? Not sure … just a thought. 8-{

Hits Wall Fine

But when it hits me, it spawns here

e1806a69072b679877983a779c9b2e519e367edc.jpeg

Graph

4f7d8e243770afee59fb0912bc1218af6095d39d.jpeg

Narg

Looks like it is hitting, but something going wrong. But spawning at 0/0/20?

495824d06ccf3a1aa32fb60528d583b05b49e04a.jpeg

Narg

always use branch to prevent any error or issue
branch.PNG

and pawn doesn’t block visibility , make sure it does

Hi

Ignore Visibility - was set. Checked it out. Cheers

That branch has stopped it spawn at 0, but still goes through me.

6c75c528e98a1b0141e1ce8f6b7f3985d004b01f.jpeg

26e9f485afd59f13bc78354cd5e4ed40b34479b0.jpeg

Narg

check block visibility

Fantastic Mhousse1247, that works, mostly.

I think I have issue where I am producing the line trace.

My Mesh

4b0cf3989611d35761ef75470b65bf1c347629a9.jpeg

My Rotation Graph

My Line Trace (Works when I stand in front of it :slight_smile:

f9bb5be10783f15d548b7baa1480e5cd071610a8.jpeg

It appears that it seems to get close to my location and goes, Ahhh, that is close enough.

If I edit the Barrel range I can move it, just not close enough. I can spawn from the ground, but can not shoot down from the ledge.

Narg

Found the issue, just not the solution.

Works

Does not work

Any reason this node would cause this issue?

Narg

It appears, any delay in movement make it inaccurate.

Narg

UE4 crashed, rebooted - works now.

Kool

Thank you all

Narg