Obi Official Forum
Help Networking w/ Obi Rope - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help Networking w/ Obi Rope (/thread-1114.html)



Networking w/ Obi Rope - VirtualCucumber - 23-04-2019

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.


RE: Networking w/ Obi Rope - josemendez - 29-04-2019

(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/tutorials/scriptingparticles.html