Example of what I have till now https://www.babylonjs-playground.com/#JDXFPE#3
My goal is to be able to move the grey walls (tubes) while keeping all meshes attached to each other.
When dragging the first wall (any wall) everything looks ok and remains attached.
if I try to drag a wall that is nearby, all the pieces become de-attached.
if I try to instead immediately drag the opposite wall, the pieces remain attached.
How it looks -> Recording #509
Why does this happen?
Is there a better approach to this in general?
FInally, once this issue is fixed, I would like to be able to move each wall in one axis only. For example, the top and bottom walls should move in the z axis only, and the left and right walls should move in the x axis only. How can I achieve this?