29-12-2020, 12:19 PM
Hi ! So I've been trying out what I was told, about generating the list of StructuralConstraints to tear, and I got around a way to select the constraint I actually needed to tear. The method I've used is mostly inspired by the ApplyTearing() one, but I still have a few questions.
First of all, when I generate my StructuralConstraints, I don't input any force to them (just set it to a default 0), and I wonder if it can lead to error afterwards.
Then, when I tried to use the Tear() method, I was stuck with the first condition, where we can't split if there aren't any free particles in the pool. Therefore, I disabled the first particle of each pair corresponding to a StructuralConstraint.
Now, I'm facing a problem where I can't seem to complete some of the SplitTopologyAtVertex() operations. The otherSide.Count is sometimes equals to 0, returning false and keeping me from completing my cut.
I'm stuck here, I can't find any way to proceed further, some help here would be very appreciated.
(If needed I can supply photos, I know my explanations are a bit messy).
Thanks !
First of all, when I generate my StructuralConstraints, I don't input any force to them (just set it to a default 0), and I wonder if it can lead to error afterwards.
Then, when I tried to use the Tear() method, I was stuck with the first condition, where we can't split if there aren't any free particles in the pool. Therefore, I disabled the first particle of each pair corresponding to a StructuralConstraint.
Now, I'm facing a problem where I can't seem to complete some of the SplitTopologyAtVertex() operations. The otherSide.Count is sometimes equals to 0, returning false and keeping me from completing my cut.
I'm stuck here, I can't find any way to proceed further, some help here would be very appreciated.
(If needed I can supply photos, I know my explanations are a bit messy).
Thanks !