Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Softbody SetMass issues
#2
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:

Code:
softbody.RecalculateRestShapeMatching();

right after setting its mass.

kind regards,
Reply


Messages In This Thread
[Solved] Softbody SetMass issues - by Tomobodo - 01-02-2021, 07:16 PM
RE: Softbody SetMass issues - by josemendez - 01-02-2021, 08:01 PM
RE: Softbody SetMass issues - by Tomobodo - 05-02-2021, 01:47 PM