03-03-2025, 04:18 AM
(This post was last modified: 03-03-2025, 06:33 AM by vrtraining.)
(28-02-2025, 09:18 AM)josemendez Wrote: Hi,
Particles don't have transforms in the literal sense of the word (4x4 matrices). They have separate position, orientation and radii values stored in the solver's data arrays. You can access those using the particles API.
kind regards,
Hi,
I have only one actor in cloth dedicated solver.
I was able to get the index of particle group through blue print.
Code:
int particleIndex = actor.blueprint.groups[0].particleIndices[0]
I also verified it by giving a unique color to that particle in particle group and checking it through
Code:
actor.blueprint.GetParticleColor(particleIndex)
Now my question is should I'm using this Index in solver to get the position but I'm getting some Local position. How do I get global position?