Attach and actor to an actor using a 'rope' or similar.

Actually I meant to limit movement in z axis, by setting some lenght (maximum cable lenght) which it will be allow d to move. Because if you just set is as free it will fall down completely.