Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Save/Load Obi Rope state and rope network state synchronization
#2
(24-05-2021, 07:32 AM)pmike Wrote: Hello! Does anyone have any code or ideas for serializing/deserializing a rope over a network?

You do this just like you'd do with any other object: send positions and velocities over. In Obi's case, particle positions and velocities.

If you're using UDP, passing a timestamp would be a good idea too. Client side you can implement dead reckoning by just letting the simulation run in-between snapshots.

You can get/set per-particle data (positions, velocities, etc) using the particles API:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply


Messages In This Thread
RE: Save/Load Obi Rope state and rope network state synchronization - by josemendez - 24-05-2021, 07:41 AM