Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Stitcher 's problem
#8
(07-08-2020, 02:36 PM)josemendez Wrote: Hi there,

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?
HI,this is my demo project with the CursorStitch Component.CursorStitchDemo
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.
Reply


Messages In This Thread
Obi Stitcher 's problem - by jackdos - 06-08-2020, 12:24 PM
RE: Obi Stitcher 's problem - by josemendez - 06-08-2020, 12:31 PM
RE: Obi Stitcher 's problem - by jackdos - 06-08-2020, 12:32 PM
RE: Obi Stitcher 's problem - by jackdos - 07-08-2020, 01:17 PM
RE: Obi Stitcher 's problem - by josemendez - 07-08-2020, 01:20 PM
RE: Obi Stitcher 's problem - by jackdos - 07-08-2020, 01:32 PM
RE: Obi Stitcher 's problem - by josemendez - 07-08-2020, 02:36 PM
RE: Obi Stitcher 's problem - by jackdos - 10-08-2020, 11:21 AM
RE: Obi Stitcher 's problem - by josemendez - 10-08-2020, 12:18 PM
RE: Obi Stitcher 's problem - by jackdos - 10-08-2020, 12:38 PM
RE: Obi Stitcher 's problem - by josemendez - 10-08-2020, 12:40 PM