Shorten Cable Depending On Distance!

How can i shorten the cable with distance?

if i try to set the cable length == to the distance he instantly just goes to the end of the cable. Due to distance always becoming smaller then cable.

Any help would be appreciated!

1 Like