Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about Tearable Cloth Blueprint
#1
Hello,

I'd like to know that when Obi is creating the tearable blueprint for a piece of mesh, is it guaranteed that for each particle, there will be at least one distance constraint where that particle is the first of the two particles stored in the data structure array?
Reply
#2
(07-06-2022, 08:48 PM)snowtv Wrote: Hello,

I'd like to know that when Obi is creating the tearable blueprint for a piece of mesh, is it guaranteed that for each particle, there will be at least one distance constraint where that particle is the first of the two particles stored in the data structure array?

Hi!

No, there's no guarantee. Distance constraints are built from a list of unique half-edges in the mesh (an edge would be composed of 2 half-edges: A-B and B-A, where A and B are vertices).

All half-edges in the mesh are stored in a list in the order they appear in the mesh's triangle list, and only the first one is considered when creating initial constraints. So theoretically, a particle could appear as the second particle in all constraints involving it.
Reply