Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Is there a way of obtaining the 'tension' and streching of a rope
#1
I want to have a crane that get certain behavior once a tension threshold is certain amount.

On top of that I want the motor that retract or extend the rope to sound like its making more effort depending on the tension amount.

Is this achievable? if so, how? 

Best regards,
Daniel.
Reply
#2
Hi,

You can measure strain: the amount of stretching caused by tension, which is the rate of current length vs length at rest:

Code:

Code:
float strain = rope.CalculateLength() / rope.restLength;

Strain will be >1 when the rope is stretched, <1 when compressed, 1 when exactly at rest.

kind regards,
Reply
#3
Works great! exactly what we needed! 

Cheers!
Reply