17-10-2020, 08:04 PM
(This post was last modified: 17-10-2020, 08:04 PM by josemendez.)
(17-10-2020, 09:43 AM)Elegar Wrote: I wonder how to make ropes elastic but without possibility of ropes pass through each other. I understand that stretching the rope causes appearing gaps between particles and from some moments these gaps become quite big to allow other particles to go between them. I do not need endlessly stretching ropes but I need them to be quite more elastic then they are. Setting particles density would fix my problem but it is impossible to set density (resolution) higher than 1.
Any workarounds or suggestions?
PS I also noticed that stretched particles are not evenly distributed, but grouped by 2: http://prntscr.com/v11xt0 Is it ok?
Hi,
Obi is a particle-based engine, so collision detection is done on a per-particle basis. If there's gaps in between particles (and if your rope is very elastic, there will be), the only solution is to increase the blueprint resolution. Still, this will only allow you to stretch the rope to roughly double of its rest length before gaps appear.
If you're using sequential mode for distance constraints, constraints in between particles will be updated in an interleaved order (to maximize parallelism) which makes this mode order-dependent (that's why they seem to "pair up" when stretching the rope). Switch to parallel mode if you want order-independent (though slower-convergence) constraint solving. See the "Evaluation Order" section of the solver's manual page for details:
http://obi.virtualmethodstudio.com/tutor...olver.html
The order-dependent nature of the sequential solver is also explained here:
http://obi.virtualmethodstudio.com/tutor...gence.html