Obi Official Forum

Full Version: Multiplayer ready?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

i`m interested into this softbody asset and i want to ask if it's possible to synchronize the softbody over the network?
(26-01-2022, 08:17 AM)Rexima Wrote: [ -> ]Hello,

i`m interested into this softbody asset and i want to ask if it's possible to synchronize the softbody over the network?

Hi there!

Sure! this has always been possible, you can synchronize literally any data over the network. However note this is not done automagically. Not by Obi (since it's a physics engine, not a networking solution) and not by any networking solution (since they know nothing about Obi).

Using the networking framework of your choice, you must sync particle data between host/server and clients. Here's the API to get/set particle positions, velocities, etc:
http://obi.virtualmethodstudio.com/manua...icles.html

As a networking solution, a good starting point is Unity's netcode:
https://docs-multiplayer.unity3d.com/doc...index.html

kind regards,
Thank you very much for the quick answer.