Hello, I am using Unity Physics 2D for my current use-case.
I want to build up a tower made of standard boxes. The box has a standard BoxCollider2D and a Rigidbody2D with standard values.
There is also a ground collider. With the key "N" I spawn a new box prefab which falls a little and collides with the ground. Then I add 0.5 to the Y position for the next spawn box and spawn a new box again and again and again. The more boxes I add the more pressure there is on the lower boxes. After some boxes the tower gets unstable and falls apart.
This is not what I want to achieve. I would like to have no effect on the pressure, the boxes should not been squeezed. In reality I would put one brick on top of each other and it will "never" break if i place it perfectly in center and no other disturbing forces (wind etc.) occur.
I could deactivate the gravity once its placed on top of the tower, but then I wont have the possibility to let the tower break if I place one block not correctly in the center.
Hope I could explain it correctly but on my G-Drive (link below) I placed my asset folder with my basic setup. Once you hit play and press "N" a block will be spawned.
You can see a little of bounciness and also if you place more, you will also see how the blocks below get more and more squeezed until the tower breaks.
How could I achieve my use-case building high towers with no squeezing, bouncing but still the usage of gravity and center of masses.
Thank you very much for your help!!!
Link to G-Drive: https://drive.google.com/drive/folders/15eNoCJQptvkoE2hBfRoPexPKm-B9qx_c?usp=sharing
↧