10-08-2020, 11:21 AM
(07-08-2020, 02:36 PM)josemendez Wrote: Hi there,HI,this is my demo project with the CursorStitch Component.CursorStitchDemo
There seems to be nothing wring with your setup, or with the code you shared. Except that changing the blueprint once you've instantiated the cloth objects will have no effect at all (like you do here):
Code:for (int i = 0; i < cloth.blueprint.principalRadii.Length; i++)
{
cloth.blueprint.principalRadii[i] = Vector3.one * 0.3f;
}
Can you share the full source code of your CursorStitch component?
Also, are there any errors popping up in the console?
steps:
1. press Play;
2. press the left mouse button, to select the sewing area between the two patches;
3. press R key, to flip the points on the second patch;
4. press S key, to sewing the two patches.