Programming #
I’m trying to make a drag and drop robot builder on a grid, and I need to make sure that the blocks connect and never fall apart from the main mech.
I don’t have much experience on game making and I have no idea on how to do that.
Any help is appreciated, thanks in advance.
I will try to answer even without knowing your general SceneTree or what “robot builder on a grid” means.
The game will perceive two blocks as “connected” when the parent node is the same.
As a test, can you put both blocks into one parent and then adjust the position of the parent? I believe both blocks are then moved at the same time.