Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Ropes Multiplayer Sync
#3
(27-09-2023, 06:01 PM)josemendez Wrote: Getting/setting particle properties in FixedUpdate() will not work, since the order in which Unity calls FixedUpdate for different objects is undefined. The solver might be updated before or after you get/set the data, leading to inconsistent results.

Use one of the solver callbacks to make sure to always get/set particle data at the same point in time. ObiSolver. OnEndStep is the preferred way to do this, as it is called whenever the solver has finished a physics step.

kind regards,
moved all to the EndStep function but tension still not syncing Code
Reply


Messages In This Thread
Obi Ropes Multiplayer Sync - by fevzi - 27-09-2023, 04:25 PM
RE: Obi Ropes Multiplayer Sync - by josemendez - 27-09-2023, 06:01 PM
RE: Obi Ropes Multiplayer Sync - by fevzi - 27-09-2023, 08:59 PM
RE: Obi Ropes Multiplayer Sync - by josemendez - 28-09-2023, 08:24 AM
RE: Obi Ropes Multiplayer Sync - by fevzi - 28-09-2023, 09:28 AM
RE: Obi Ropes Multiplayer Sync - by josemendez - 28-09-2023, 09:34 AM
RE: Obi Ropes Multiplayer Sync - by fevzi - 01-10-2023, 03:28 PM