Make Line Tracing
Line trace function: to do thing (e.g. apply damage) from point A to point B
Use 1st person Template.
In Project setting, check if action input button, Primary Action is valid (default is left click mouse and gamepad trigger)
go to 1st person BP, event graph:
Add Line tracing node behind the graph Call on Use item as:
float value 1500 determines how far the trace line spreading out (change to 15000 in his case)
Draw time determines how long the traced hit object be active by the trace line.
Continune:
Now the print string indicates what objects are in the trace whenever they are hit, and its XYZ location values.
Hit left mouse click/gamepad trigger to detect its trace.