Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Networking w/ Obi Rope
#1
Was hoping I can get some advice here when it comes to syncing ropes over a network. I have a simple gif to illustrate what im talking about because they simulate fine its just when you manually adjust it.

Code:
       if(Input.GetMouseButton(0))
       {
           hands[0].invMasses[0] = 0;
       }
[Image: zxQAZnK.gif]

Havent done anything special to sync this so by default it shouldnt work but was wondering if anybody had solutions when it comes to networking and syncing ropes.

Im using Mirror which is very similar to UNet.
Reply
#2
(23-04-2019, 05:41 AM)VirtualCucumber Wrote: Was hoping I can get some advice here when it comes to syncing ropes over a network. I have a simple gif to illustrate what im talking about because they simulate fine its just when you manually adjust it.

Code:
       if(Input.GetMouseButton(0))
       {
           hands[0].invMasses[0] = 0;
       }
[Image: zxQAZnK.gif]

Havent done anything special to sync this so by default it shouldnt work but was wondering if anybody had solutions when it comes to networking and syncing ropes.

Im using Mirror which is very similar to UNet.

Hi,

Sending particle positions/velocities over the net would be a quick and dirty solution. You can get/set them using the particle API:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply