Obi Official Forum
How to obtain Stright rope - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: How to obtain Stright rope (/thread-2448.html)



How to obtain Stright rope - flaurens - 26-08-2020

Hi! I have a doubt regarding the stright of a rope.

I'm trying to create a stright rope between two rigidbodies. So once I start the game I want that rope to has it's "max" length, the issue is that when I press play button the rope always falls (in its middle part) a little bit to the ground so I never get the stright rope that I want. What are the best parameters to modify in order to obtain that behaviour? Both rigidbies have a mass of 1 and the rope is composed by 2 control points of mass 0.1.

ObiSolver has:
Dampoing: 0.9
ShockPropagation: 0
MaxAnisotropy: 3

The ObiFixedUpdater has the Substeps set to 1.


Regards!


RE: How to obtain Stright rope - josemendez - 26-08-2020

(26-08-2020, 12:18 PM)flaurens Wrote: Hi! I have a doubt regarding the stright of a rope.

I'm trying to create a stright rope between two rigidbodies. So once I start the game I want that rope to has it's "max" length, the issue is that when I press play button the rope always falls (in its middle part) a little bit to the ground so I never get the stright rope that I want. What are the best parameters to modify in order to obtain that behaviour? Both rigidbies have a mass of 1 and the rope is composed by 2 control points of mass 0.1.

ObiSolver has:
Dampoing: 0.9
ShockPropagation: 0
MaxAnisotropy: 3

The ObiFixedUpdater has the Substeps set to 1.


Regards!

Hi,

Just use more substeps, or more distance constraint iterations. What you see is spurious elasticity, due to the simulation not fully converging in a single step. See: http://obi.virtualmethodstudio.com/tutorials/convergence.html