Tying two players (Rigidbodies) together with a rope

I have two capsule colliders with rigidbody components. 1 capsule is controlled by Player one, one capsule is controlled by Player 2 - movement is fairly simple, just flying around in zero gravity, X&Y axis only.

I am trying to tie the character together with a rope. This means:

  • There should be a maximum distance
    which they can travel from each
    other.
  • The rope should be physics-based and collide with
    objects in the environment.

(If I can only get the first bullet point, I can attempt to design the game around that - but I’m really trying for both features).

I will describe my current implementation and failures in the comment. Thank you.

If you have money to spend you can buy “QuickRopes” off the asset store.