Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiplayer ready?
#1
Hello,

i`m interested into this softbody asset and i want to ask if it's possible to synchronize the softbody over the network?
Reply
#2
(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,
Reply
#3
Thank you very much for the quick answer.
Reply