If you cant make a rope, wich interacts with the environment, change it to a "tractor beam" energy kind of
thing.

When there is a block between you and the attachment point, it
cuts the connection.

This beam is easier to visualize.