27-10-2025, 05:04 PM
(27-10-2025, 03:51 PM)josemendez Wrote: Oh, I see what you mean. While this doesn't have anything to do with stability (as in numerical stability), its a limitation of how dual descent solvers work indeed. Constraints involving particles with different masses bias the correction towards the particles with lower mass (which is physically accurate), so heavier particles receive a smaller percentage of the correction per iteration. However since the amount of iterations/substeps is finite this means lighter particles end up propagating less data to heavier particles, which makes convergence slower. Primal solvers have the same issue with stiffness ratios. Here's a good read on the subject: https://mmacklin.com/primaldual.pdf
Forcing specific mass ratios, by for instance clamping them is a typical (if unphysical) solution in games, this is what Unity joint's connectedMassScale is used for.
Yes, exactly that. However very similar thing can happen with equal masses, because solver works the way you described.

