Help With Line trace math

I did a post here, about how to line trace in all directions

https://forums.unrealengine.com/t/how-to-line-trace-in-all-directions/572301/14