Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Save/Load Obi Rope state and rope network state synchronization
#3
(24-05-2021, 07:41 AM)josemendez Wrote: 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

Can you give a sample code for saving and loading the rope state using particles API?
Reply


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