2DWorlds Forums
Welds being nearly unusable when cloning objects - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Suggestions (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=19)
+--- Thread: Welds being nearly unusable when cloning objects (/showthread.php?tid=21)



Welds being nearly unusable when cloning objects - Ghosty - 10-22-2012

I've been trying to work on a regenerating structure, and short of hardcoding all the positions of boxes and welds I can't seem to find a way to make it do so without falling to pieces. So I have a suggestion to make this easier.

Whenever a model is cloned, all welds whose Part1 and Part2 are both parts inside the model are cloned as well.

This should be enough to make it possible to have simple regenerating structures with welds without needing 200 lines of hardcoded positions.


RE: Welds being nearly unusable when cloning objects - Jacob__mybb_import1 - 10-23-2012

Did you use the makeJoints() function on the cloned model after adding it?

I might be able to make this happen automatically, but it was originally like that and I remember it caused some sort of problem.