Hi, sorry I have yet another question.
I have been trying out the ObiStitcher component, for similar use as this thread:
http://obi.virtualmethodstudio.com/forum...-3838.html
Was able to add stitches by script without issue.
I am having problems removing stitches though.
Snippet of code used to RemoveStitch one by one
Issue 1: Particles remain stuck together after stitch is removed
- this is during runtime
- run above script, particles remain stuck together.
- go to ObiStitcher inspector, press "Clear all stitches", particles remain stuck together
Issue 2: Seem only able to remove half the total stitches (?)
- above script stops removing stitches at the halfway mark
(eg I have 81 stitches in my test sample, remaining stitches stays stuck at 40)
- I notice it removes every other stitch (1, 3, 5...)
I'm not sure what to do, I could not find relevant documentation.
Thanks in advance.
I have been trying out the ObiStitcher component, for similar use as this thread:
http://obi.virtualmethodstudio.com/forum...-3838.html
Was able to add stitches by script without issue.
I am having problems removing stitches though.
Snippet of code used to RemoveStitch one by one
Code:
int initStitchCount = stitcher.StitchCount;
for (int i = 0; i < initStitchCount - 1; i++)
{
stitcher.RemoveStitch(i);
stitcher.PushDataToSolver();
}
Issue 1: Particles remain stuck together after stitch is removed
- this is during runtime
- run above script, particles remain stuck together.
- go to ObiStitcher inspector, press "Clear all stitches", particles remain stuck together
Issue 2: Seem only able to remove half the total stitches (?)
- above script stops removing stitches at the halfway mark
(eg I have 81 stitches in my test sample, remaining stitches stays stuck at 40)
- I notice it removes every other stitch (1, 3, 5...)
I'm not sure what to do, I could not find relevant documentation.
Thanks in advance.