Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can you read and set rope data? for multiplayer purposes.
#7
Disabling either the rope or solver makes the rope stop working.

I just want to be able to render the rope on the client side as it was sent from the server, steps to do this?

Currently I am applying the rope data on FixedUpdate

Code:
private void FixedUpdate()
    {
        if (IsServer)
            return;

        for (int i = 0; i < ropeActor.particleCount; i++)
        {
            ropeActor.solver.positions[ropeActor.GetParticleRuntimeIndex(i)] = receivedList[i];
        }
    }


receivedList is a list of rope positions sent by the server, it syncs fine until i deactivate the solver
Reply


Messages In This Thread
RE: Can you read and set rope data? for multiplayer purposes. - by Milionario - 22-11-2022, 07:24 PM