09-04-2019, 08:14 AM
(This post was last modified: 09-04-2019, 08:16 AM by josemendez.)
(14-02-2019, 05:07 PM)camirving Wrote: Hi there!
I'm trying to fix a part of my Softbody in place.
This is the code I'm using:
However, by settingĀ "solver.invMasses" to zero, i start getting
and the simulation goes haywire.
what am I doing wrong?
You're checking if the actor is NOT in the solver, in that case solver property accesses will of course be invalid. Remove the "!" in front of actor.InSolver, or change actor properties instead of solver properties and then call actor.PushDataToSolver(ParticleData.VELOCITIES | ParticleData.INV_MASSES).