28-09-2020, 07:42 AM
(27-09-2020, 12:25 AM)mr-matt Wrote: Hello!
I'm trying to setup my ropes to lift objects of large mass. However, the rope stretches by at least 2x the resting length and the object remains stationary on the ground. I've fiddled with all the settings and I don't think I quite understand. How might I configure it to reduce the stretching?
Make sure that you're using dynamic attachment to attach the rope to the object. This is a must if you want the object to react to the rope at all (two-way coupling). See: http://obi.virtualmethodstudio.com/tutor...ments.html
Given that this is what you're doing, heavier objects will of course stretch the rope more than light objects. This is inherent to all physics engines: larger mass ratios = slower convergence = stretchier constraints. For this reason mass ratios are generally best kept below 1:10 in most engines, Obi being no exception to this rule.
Just use more distance constraint iterations (found in the ObiSolver component), or more substeps (found in the ObiFixedUpdater component). The manual describes in detail how the simulation works internally, and how iterations/substeps affect the resulting quality:
http://obi.virtualmethodstudio.com/tutor...gence.html