Hi I think I’m missing something because I know it’s working but where it’s the point to use the WorldDirection instead of WorldLocation after de-project the crosshair?
I mean if I think how works the line trace, in theory you could:
- Have a point 1, that its the start (the camera location in a 3D space)
- Have a point 2, that its the start plus where the crosshair is de-projected in a 3D space
A line is created betwen the point 1 and the point 2 plus the additional range we want, in this case 10km.
I tested in this way and it’s not working, where is my misconception here?
Thanks.