Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any tutorial for stitcher?
#4
(21-10-2021, 06:45 AM)Snail921 Wrote: Thank you for your help.
I finally make it work perfectly all in runtime without exporting/importing xml files or manual property painting.My concern, at this moment, is that I may have problem when obi simulation keeps going and moves particles away while the AutoStitcher.cs is trying to find out particle pairs within the range of designated distance. 

You're welcome!

As far as your stitcher script goes, it seems to be single-threaded, synchronous code. If it runs as soon as the updater/solver are created, it should give them no chance to update the simulation and move particles around.

You could also deactivate the updater component until you ass the stitches, this way the simulation won't be updated.

Where is this code being run, in relation to the solver?
Reply


Messages In This Thread
Any tutorial for stitcher? - by Snail921 - 16-10-2021, 11:23 AM
RE: Any tutorial for stitcher? - by josemendez - 18-10-2021, 07:39 AM
RE: Any tutorial for stitcher? - by Snail921 - 21-10-2021, 06:45 AM
RE: Any tutorial for stitcher? - by josemendez - 21-10-2021, 08:33 AM
RE: Any tutorial for stitcher? - by Snail921 - 21-10-2021, 05:16 PM
RE: Any tutorial for stitcher? - by josemendez - 22-10-2021, 07:44 AM
RE: Any tutorial for stitcher? - by Snail921 - 23-10-2021, 08:36 AM
RE: Any tutorial for stitcher? - by josemendez - 25-10-2021, 09:15 AM