Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can you read and set rope data? for multiplayer purposes.
#9
(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?
Reply


Messages In This Thread
RE: Can you read and set rope data? for multiplayer purposes. - by Milionario - 23-11-2022, 03:02 AM