Does anyone have any idea how to get correct value for end trace, so it will match crosshair exactly ? Or maybe someone have another idea how to approach it. What I need essentialy is crosshair offseted from center of the screen, and then trace which will hit exactly at crosshair location.
You should use the the ‘World Position’ pin-out from the Deproject node as the starting point of the line trace, and the ending should be World Position from Deproject plus its direction times some value.
Start = Deproject’s World Position
End = (Deproject’s World Position) + (Deproject’s World Direction * 100000)