Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stretch and relax rope problem
#2
(16-03-2023, 05:54 PM)berko Wrote: Hi, 

I want to make a rope passing through some set of points, let's say, p1, p2, p3, p4. 
but I want its original length is |p1-p2|. I want rope is full stretched and tight when rope end point is at p4.
I setup rope on edit mode, and when I play, rope passes through my desired points.

My desire is when rope is released from p4 it must be relaxed and gets to its original length of |p1-p2|.

When I setup control points to make rope pass through all points, when it is released it keeps its length |p1-p2| + |p2-p3| + |p3-p4|. Hoverer I want it length to be |p1-p2|

How can I achieve this?

Hi there,

The rope's "stretching scale" parameter is a multiplier on the distance in-between particles. So if you set it to 0.7, overall rope rest length gets reduced to 70%. You can take advantage of this to reduce the length of your rope at startup so that it matches |p1-p2|. To do this, set its value to the ratio between its original rest length and |p1-p2|. Note this doesn't add or remove particles from your rope, it just scales the distance between particles.

kind regards,
Reply


Messages In This Thread
Stretch and relax rope problem - by berko - 16-03-2023, 05:54 PM
RE: Stretch and relax rope problem - by josemendez - 17-03-2023, 08:07 AM
RE: Stretch and relax rope problem - by berko - 17-03-2023, 04:22 PM