14-02-2019, 11:04 AM
(This post was last modified: 14-02-2019, 11:05 AM by josemendez.)
(14-02-2019, 10:58 AM)Richard Wrote: I read the page. How can I specify fixed particle and inverse mass values?
Like it says in the page:
Code:
int particleSolverIndex = actor.particleIndices[<your particle index here>];
solver.invMasses[particleSolverIndex] = <your value here>
Set it to 0 to fix a particle, set it to any positive value to unfix it.