Is there a way to Linetrace from a Bone socket to the Center of the screen?

i tried to linetrace by inserting the socket location as starting point and the camera vector forward *8000 as output but it was not centered on the screen

so my workaround was to make a linetrace with camera location as starting point and camera vector forward *8000 as output, then in break hit result getting the impact point and inserting it as endpoint to to the “main” linetrace, now the problem is that the “main” linetrace does not impact properly :c

Why not just use the socket location and camera location as start and end points?

Using 10m from camera as target point. Greater distance would be better, yet depends on application.

Preferred method. Takes into consideration close camera blocking collisions.

Combined logic for a “Raw” trace w/given parameters.

Results