Physics constraint with variable length


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: