I have a line that connects two objects. I would like that when one of those objects moves, the points on the line follows the objects, so the line always connects both objects. How could I achieve that?
Hooks will allow you to parent vertices (or control points in a curve) to empties or vertices in other objects, so that the deformations are controlled by the parented element.
read the following links: