23-01-2021, 01:15 AM
(This post was last modified: 23-01-2021, 01:18 AM by josemendez.)
(22-01-2021, 08:22 PM)Xanduffy Wrote: Hi, I'm currently working on incorporating obi rope into a VR project, and I'm having some difficulty getting the rope to behave realistically/reasonably in response to being thrown or moved as it tends to bounce and swing wildly for far too long. I've tried adjusting the stretching scale and compliance(best results seem to be ~0.7 scale with 0 compliance) however reducing the scale too much presents other issues. Is there a straightforward way to somehow dampen the rebound response so that the rope settles quicker, rather than bouncing for well over a minute?
Sure, try increasing the “damping” parameter in the solver. This will cause particles to lose energy faster.
If it’s stretching you’re worried about, use more substeps. This will improve convergence speed, and reduce spurious compliance. See the “simulation” section in the manual for more info.
Compliance should be set to zero (as you want minimal stretching/ bouncing). Remember that compliance is the inverse of stiffness, so 0 compliance is equivalent to infinite stiffness. Stretching scale should be set to 1, as you want the rope to keep its original length, instead of shrinking by 70%.