06-12-2022, 03:11 PM
(06-12-2022, 03:03 PM)josemendez Wrote: Hi,That worked!
You're setting particle inverse masses to zero, which in the case of softbodies requires recalculating their rest shape since the inertia tensor of the softbody changes as a result. Call UpdateParticleProperties() on the softbody after setting the particle's inverse mass. Quoting the API docs:
Note all ObiActors declare the UpdateParticleProperties() method, in some cases (like ropes) its implementation is a no-op so you can use the same code for both ropes and softbodies.
Should I keep setting invMasses to zero? It was a suggestion from another thread