Below is an image to illustrate what Im looking for.
The goal is to create a beam effect that starts at the left most dot, stays level with that dots Z Height, but ends the beam at the intersecting point with the Trace line.
Currently I send a trace from the camera to the floor. And just manually change the .Z portion of the resulting ImpactPoint FVector which results in the beam being equivalent to line C.
I want the beam to be equivalent to line C + D.
Is there an engine function that can do this?
If not what would be the best way to accomplish this?