06-11-2019, 01:18 PM
(06-11-2019, 01:12 PM)josemendez Wrote: Hi,
I'm not sure I understand your question. You can change particle properties collectively or individually, as long as you have their indices. For instance, to change the velocity of particle "i" in the actor:
Code:int indexInSolver = actor.particleIndices[i];
solver.velocities[indexInSolver] = Vector3.zero;
Hello,
Thanks for the reply.
I was wondering how to obtain the specific indice which a particle is allocated to.
For example, if I use the cloth sheet from the example which has... 289 particles, how would I know which particle corresponded to which indice?