How do I attach a beam to a specific point?

That looks like a line trace problem, no?