Physics constraint with variable length

Hi

I trying to implement rope system with variable length. Basically this is a crane which can move cargo by upward or downward. For making a Crane i need “rope” with variable length. I try to make with Physical Constraints but seems it’s not possible to change constraints length or just dynamically move the Second component (Crane mesh) attached to constraints.

I will glad to hear any ideas or things how to implement this feature.

Solved. In my case easy solution - change and decrease LimiZ value of PhysicConstraints:

Hi, I managed to extend and retract the cable by increase and decrease the Z limit of the cable physics constraint, yet idk how to stop it from increasing when it hits/collide with a static object like floors or the load. Visually i can see the hook stop when collide with static objects but the value of the Z limit keeps increasing and it made the retracting process taking a long time. I hope u can help me with this problem.