This might not be the best place but I learned how to do this from Ben Tristem.
When the line trace starts from the camera location, the line trace aims exactly where the cross hair is pointing on the middle of the screen, which works fine.
Here is my code: http://imgur.com/a/GLS3G
But this is a third person game, I want the line trace to start in front of the pawns location that is casting the line trace and not the camera location. I added a socket in front of the character so the line trace spawns from that socket location, but now the line trace doesn’t aim where the cross hair is pointing.
Problem Example: http://imgur.com/a/g54wd
Can someone please help with this, I looked at other people’s code but I don’t really understand how to fixed it