Need help drawing a debug box

So i’ve been trying to figure out how to debug a box given two points that i got from two different LineTraces:

I’ve been messing around adding hit locations and word locations, but so far i couldn’t achieve what i wanted, which is draw a debug box that fits perfectly into these two hit locations, regardless of the height it has.

What should i do?

There is a Draw Debug Box command, but that just draws an outline cube. Good for debugging basic shape. If you want a more complete box you can resize a cube with inverse normals to fit the size.

How could i do that? I’ve been searching for some tips but got nothing so far.