Line trace in wrong direction

I shoot a run of the mill line trace from a socket on my weapon but something is causing it to offset when I play in another map.

On one map it works as intended, shoots straight from where the weapon is pointing, however changing to another level it breaks down. The line trace is offset to one direction, however when I rotate the player it’s offset in another direction.

Any ideas what might be causing this?

For the Trace End, you have to add the Vector x 10000 to the muzzle location, otherwise you’re calculating the end from the world origin 0,0,0, and not from the muzzle location.

1 Like

Thank you, it works great now