Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is rope stretch has some limitation?
#1
I have made a procedural rope. The thickness is 0.1 ,and the resolution is 10.

[Image: xmgw3gW]
(https://imgur.com/a/xmgw3gW)

But the rope seem too loose. I have tried to set the mass property in the rope path. But nothing change.

        ropeBlueprint.path.Clear();
        ropeBlueprint.path.AddControlPoint(posA, Vector3.zero, Vector3.zero, Vector3.zero, mass, mass, thickness, 1, Color.white, "start");
        ropeBlueprint.path.AddControlPoint(posB, Vector3.zero, Vector3.zero, Vector3.zero, mass, mass, thickness, 1, Color.white, "end");
       
        ropeBlueprint.path.FlushEvents();

Also I have changed the Bend Constraints - Maxbending to 1 in the ObiRope compoenent. It has changed a bit but still very loose. Could u give me some suggestion?

I remember there a stretch scale property in the previous version can change it easily but can't find it in the 5.3 version~
Reply
#2
(04-06-2020, 11:34 AM)wenzy Wrote: I have made a procedural rope. The thickness is 0.1 ,and the resolution is 10.

[Image: xmgw3gW]
(https://imgur.com/a/xmgw3gW)

But the rope seem too loose. I have tried to set the mass property in the rope path. But nothing change.

        ropeBlueprint.path.Clear();
        ropeBlueprint.path.AddControlPoint(posA, Vector3.zero, Vector3.zero, Vector3.zero, mass, mass, thickness, 1, Color.white, "start");
        ropeBlueprint.path.AddControlPoint(posB, Vector3.zero, Vector3.zero, Vector3.zero, mass, mass, thickness, 1, Color.white, "end");
       
        ropeBlueprint.path.FlushEvents();

Also I have changed the Bend Constraints - Maxbending to 1 in the ObiRope compoenent. It has changed a bit but still very loose. Could u give me some suggestion?

Need to know this too ! Sonrisa
Reply
#3
Quote:But the rope seem too loose. I have tried to set the mass property in the rope path. But nothing change.

Mass has nothing to do whatsoever with stretching. It only affects how the rope interacts with other objects, just like in the real world.

Quote:Also I have changed the Bend Constraints - Maxbending to 1 in the ObiRope compoenent. It has changed a bit but still very loose. Could u give me some suggestion?

Bending != stretching. Changing the bending constraint parameters will not affect stretching in any way, just like changing stretching parameters won't affect bending. It's two completely different things.

Try increasing the amount of updater substeps, and/or the amount of distance constraint iterations, as explained in the manual:
http://obi.virtualmethodstudio.com/tutor...gence.html

Quote:Takeaway message from this section: If your rope/cloth/softbody/fluid is too stretchy or bouncy, you should try:

Increase the amount of substeps in the updater.
Increase the amount of distance constraint iterations.
Decrease Unity's fixed timestep.

Quote:I remember there a stretch scale property in the previous version can change it easily but can't find it in the 5.3 version

Stretching scale simply changed the rest length of distance constraints (shortening/lenghtening them), but did nothing in regards of stretching. Has been removed from 5.3 because it was highly unphysical, and caused more problems than it solved.
Reply
#4
(04-06-2020, 11:41 AM)josemendez Wrote: Mass has nothing to do whatsoever with stretching. It only affects how the rope interacts with other objects, just like in the real world.


Bending != stretching. Changing the bending constraint parameters will not affect stretching in any way, just like changing stretching parameters won't affect bending. It's two completely different things.

Try increasing the amount of updater substeps, and/or the amount of distance constraint iterations, as explained in the manual:
http://obi.virtualmethodstudio.com/tutor...gence.html



Stretching scale simply changed the rest length of distance constraints (shortening/lenghtening them), but did nothing in regards of stretching. Has been removed from 5.3 because it was highly unphysical, and caused more problems than it solved.


-----------------------
Thanks josemendez. That's helpful. Here is a demo i made with obiRope. ( https://twitter.com/i/status/1268608963563536387)
Reply