Line Trace On Crosshairs.

Hello, I hve a line trace but i want it to start the trace from my crosshairs. I used to know how to do this but i cannot remember how to do it. I have looked around the forums and have not found anything on this can someone remind me how to do a line trace from your crosshairs.

You can trace from your camera location like this:

The 5000 there is the range of the trace

Yes thats the way i have it setup now. But i want it right on the cross hair right. Right now i have to look up to get the tracer to hit the object i’m trying to interact with.

Ah, that was with a spectator pawn, if you’re using a first person character with the camera not at 0,0,0, you’ll have to account for that after the Get Actor Location. As in, add the Z height of your camera to that vector

Thanks that worked.