So this is a wierd one.
I have a fairly standard voronoi fracture setup, and I want to use the method of copy/stamping the original pieces (or high resolution versions of the original) to transformed points generated by DOPs. This is done by using the ‘create points to represent objects’ option in the Dop Import SOP.
This works as expected right out the box. However, when I enable clustering, many of the pieces begin flying around erratically, like their pivot is off, or they are referencing the wrong point from the simulation. Depending on the number of pieces I generate, the strange behavior only affects a few more or less, but sometimes I can get rid of this completely… It just starts working???
So my questions are:
1. Has anyone else experienced this? Are you able to use this workflow of voronoi fracturing, clustering, and copy/stamping to DOP generated points?
2. Any idea what causes this to happen so I can avoid it in the future? I suspect is is using the wrong point to transform the corresponding piece. I have tried to be exact in the way I link points to pieces, using this expression to get the info:
dopfield( “/obj/AutoDopNetwork”, “piece`$ID-2`”, “CopyInfo”, “Options”, 0, “copynum” )
which is entered into the variable value field for stamping on the copy SOP. I use the $ID-2 to get the proper piece number. Again, this works flawlessly when not using clustering.
I believe that clustering adds new pieces into the mix, and mixes up the point order relative to the piece number. I thought the above expression would fix it.
Any help in this matter would be greatly appreciated.
Thanks