Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
obi stitcher softbody
#6
(09-09-2020, 12:44 PM)tegleg Wrote: im using the latest version, fresh download and project the other day.
i must be missing a step somewhere.

please could you produce a document or a video showing how to do it?

thank you

Hi,

My bad, I was testing using the development version (5.6). There is a small bug in 5.5 that prevents stitch constraints from working the first time they're enabled. The fix is easy:

Open ObiStitcher.cs, then take line 186:
Code:
inSolver = true;

And move it to line 177, at the start of the method. Should look like this:

Code:
if (!inSolver)
            {

                inSolver = true; // <------

                // create a constraint batch (CreateStitchConstraints() in burst returns a singleton):
                m_BatchImpl = solver.implementation.CreateStitchConstraints().CreateConstraintsBatch();

                // push current data to solver:
                PushDataToSolver();

                // enable/disable the batch:
                m_BatchImpl.enabled = isActiveAndEnabled;


            }

The stitcher should work fine now.
Reply


Messages In This Thread
obi stitcher softbody - by tegleg - 05-09-2020, 01:24 PM
RE: obi stitcher softbody - by josemendez - 06-09-2020, 04:05 PM
RE: obi stitcher softbody - by tegleg - 09-09-2020, 02:34 AM
RE: obi stitcher softbody - by josemendez - 09-09-2020, 07:34 AM
RE: obi stitcher softbody - by tegleg - 09-09-2020, 12:44 PM
RE: obi stitcher softbody - by josemendez - 09-09-2020, 03:13 PM
RE: obi stitcher softbody - by tegleg - 09-09-2020, 04:16 PM