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
#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


Messages In This Thread
RE: Is there a way of obtaining the 'tension' and streching of a rope - by josemendez - 14-10-2024, 12:02 PM