27-09-2023, 08:59 PM
(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.moved all to the EndStep function but tension still not syncing Code
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,