Resizing Welded parts causing connecting parts to change alongside with it

  1. What do you want to achieve?

What I wanted to achieve, is really simple - to fix this solution. What is that problem? I will explain, so in simple retrospectively, I had created custom classic dragging/resizing system that’s integrated within my game’s mechanics. This problem probably applies to other games that uses classic building system, although.

  1. What is the issue?


As you can see in the video, I demonstrated a block that was welded (by dragging it on the ground before I started recording the video), and obviously when I resized the block, it will change size as intended, just that IT ALSO changes the connecting part (in this case, the grass) along with it…

I don’t really need to explain why this is bad, this is major bug and I am not sure how I can fix this, it is game-breaking :sob:

  1. What solutions have you tried so far?

Anyways, so I thought about using WeldConstraints instead but then I faced a kind of strange problem. In the script, JoinToOutsiders() method is used to detect part touching any other parts, automatically adding Welds to it. The problem is it doesn’t have WeldConstraint option, and it would probably be too hard or unperforming to rewrite the code to individually check and add WeldConstraint instead of single line “JoinToOutsiders()” which is simpler, likely better.

Other than that, I don’t really have any ideas on what and how to approach this problem. Any ideas, anything will be very greatly appreciated :slight_smile:

So, you know when you resize the part, it changes the position because it is being resized based on the top side of the rectangle. Now what i think is happening is that the connected parts are also being affected by this.

You should do a short runtime where when you resize the part, make sure that nearby or any connected parts doesn’t get interfered with the new position set to the resizing part.

Maybe you should use weld constraint or something to avoid this, but this is a theoretical suggestion im giving.