Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Need Transform of Cloth or Particle Group
#3
(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?
Reply


Messages In This Thread
RE: Need Transform of Cloth or Particle Group - by vrtraining - 03-03-2025, 04:18 AM