how to glue together rigidbodies

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Timofey

there is a platform on which the cube is located (by default). I would like to be able to create new cubes, and when they come into contact with a friend, so that they form a figure with their area of contact, for example, add cubes constantly to the left so that the advantage is to the left and so that the resulting figure falls from the platform.

:bust_in_silhouette: Reply From: Godene

You seem to be referring to Blender 3D. You could make another cube in the same spot, move it using the magnetic ability with a point or edge set for a target. By repeating this via ctrl+R (or may shift+R… been a while since I have used all the functions in B3D). You can use ctrl+J to join the cubes in one object.

I wanted to do it in godot. For example, here is an example of how it works in unity. an object is created and added to it rigidbody, objects with meshrender and boxcollider are added to it. it works in unity, if you do something like that in a godot then it won’t work.
https://drive.google.com/file/d/1pkEBGy-5JKM28TiKs5ROpAwi8ZJYPVRv/view?usp=sharing

Timofey | 2020-11-20 05:41