29-12-2020, 08:28 AM
(28-12-2020, 03:48 PM)josemendez Wrote: Most particle data will be updated immediately. If you take a look at the ResetParticle() source code, you'll see that solver.positions and solver.velocities are immediately written to:Hi,it‘s me.
Some data however, such as solver.renderablePositions, will only be updated at the end of the next simulation step (FixedUpdate, LateUpdate, or whenever the solver is being updated, determined by what ObiUpdater component you're using).
cheers,
I got trouble again.
I made a rope and it's particles in "position1",then i move it to "position2", i need use "position1" to compare with "position2" and get a result.
But because of particles update system is not update immediately, "position2" data is not available yet, so is there any method can do this thing?
Wait for your answer.