Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clamping rope length
#2
Hi!

(29-06-2022, 01:12 PM)charlotte Wrote: I can acces the restlength but the rope can get longer than it. 

I'm not sure I  understand your question...unless you change the rope's rest length (by calling cursor.ChangeLength), given sufficient substeps the rope will not stretch past its rest length. That's basically what a rope simulation does: it tries to keep length constant.

You can see an in-depth explanation of how the simulation works internally and how substeps/iterations affect its quality here:
http://obi.virtualmethodstudio.com/manua...gence.html

(29-06-2022, 01:12 PM)charlotte Wrote: So is there any way that i can control how long the rope can get (from code) ?

Ropes cannot get longer than their rest length. Only situation where this can happen is if there's some external constraint forcing them to stretch (for instance if you attach both ends to kinematic objects and then separate the objects).

kind regards,
Reply


Messages In This Thread
Clamping rope length - by charlotte - 29-06-2022, 01:12 PM
RE: Clamping rope length - by josemendez - 29-06-2022, 01:46 PM
RE: Clamping rope length - by charlotte - 29-06-2022, 02:04 PM
RE: Clamping rope length - by josemendez - 29-06-2022, 04:06 PM