01-02-2021, 08:01 PM
(This post was last modified: 01-02-2021, 08:02 PM by josemendez.)
Hi there!
After altering the mass of softbody particles (be it the entire softbody using SetMass(), or on a particle-by-particle basis), you need to recalculate its rest shape. Call:
right after setting its mass.
kind regards,
After altering the mass of softbody particles (be it the entire softbody using SetMass(), or on a particle-by-particle basis), you need to recalculate its rest shape. Call:
Code:
softbody.RecalculateRestShapeMatching();
right after setting its mass.
kind regards,