23-11-2022, 03:02 AM
(This post was last modified: 23-11-2022, 03:04 AM by Milionario.)
(22-11-2022, 07:49 PM)josemendez Wrote: Oh ok, in that case you can set the particles’ inverse mass to zero, by writing into the solver.invMasses array. This gives them infinite mass and they won’t have any dynamics applied to them.
I probably wasn't clear enough, I am saying that if I disable the solver on the client side, the rope doesn't change despite setting its positions like this
Code:
ropeActor.solver.positions[ropeActor.GetParticleRuntimeIndex(i)] = receivedList[i];
I suspect I need to call some solver's update method manually after setting particles positions?