17-10-2019, 01:45 PM
(16-10-2019, 08:26 AM)josemendez Wrote: Simply wait for the GeneratePhysicRepresentationForMesh() coroutine to finish before changing particle masses. You're immediately continuing after spawning the coroutine and changing masses/velocities, so the coroutine (whose execution is interleaved with the code after the StartCoroutine call) is overwriting your values.
Thank you for your prompt reply.
By waiting for the coroutine, we were able to fix Fix translation.
However, when executed, it seems to move from the original position to the origin as in the image.
How can I fix it?