Connect the player with a rope

I’m trying to have a player connected with a rope to another actor, and limit it’s movement when the rope length is reached. Just like the mechanics in the games “Chained Together” or “Unravel”.

I tried using a cable, but the cable collision passed through the world, so I switched to using meshes linked to each other with physics constraints.

Now the rope (connected with the player through constraints) does collide with the world as expected.

But, when the player moves, the rope is ignored and stretched beyond it’s limit. The player can just move freely. Is there a way to constraint the player movement so he cannot move when the rope is stretched to it’s maximum length?

Any tips?