Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Getting particle connections
#4
(05-04-2020, 03:22 PM)josemendez Wrote: Ropes use elements as a high-level description of connectivity. You can think of an element as the "edge" joining two particles.

Thanks, this is exactly the info i needed.

(05-04-2020, 03:22 PM)josemendez Wrote: However there's no direct way to tell if a given particle "is a control point", you'd need to iterate over all particle groups to see if the given particle index is part of any of them.

From what I've manage to play around with so far the first element of the particleIndices array in each of the blueprint's groups gives the index of the particle at a control point. Is this correct?

If so, from that I can build a lookup to test a particle against e.g.
Code:
bool IsControlPoint(int index) => lookup.Contains(index);
Reply


Messages In This Thread
Getting particle connections - by SpiralCircus - 03-04-2020, 05:25 PM