Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How to implement/sync ObiRope Photon Fusion?
#3
(30-06-2025, 12:19 PM)josemendez Wrote: Hi!

The principles are the same as with any other gameplay element: choose which data you want/need to sync, then send it over the network using your framework of choice.

In Obi's case, the data that usually needs syncing is particle positions/velocities which you can read/write using the particles API.

Note you may apply usual techniques such as dead reckoning (essentially allow clients to continue simulating locally until new data arrives) or data quantization (to reduce the amount of data sent). In this regard Obi is no different from any other physics simulation.


Yes of course: if you don't sync particle data then each client and the server will perform their own local simulation, which may be completely different from what other instances of the game are doing. If you want all instances to "see" the same rope state, you must decide which one is canonical (usually the server's), then send the relevant data to all others.



kind regards

Hello,

Thank you! If I have any further questions about multiplayer, I’ll be sure to reach out to you later.

Kind regards.
Reply


Messages In This Thread
RE: How to implement/sync ObiRope Photon Fusion? - by quent_1982 - 01-07-2025, 01:48 PM