# Collision/Gravity Problem

**URL:** https://discussions.unity.com/t/collision-gravity-problem/672829
**Category:** Physics
**Tags:** Physics
**Created:** [August 1, 2017, 1:00pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829 "2017-08-01T13:00:42Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![AlmostDeadYT](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AlmostDeadYT](https://discussions.unity.com/u/AlmostDeadYT)
#### Post date: [August 1, 2017, 1:00pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/1 "2017-08-01T13:00:42Z")

</div>

Hello, my name is Alex.  
I m trying to do some simple sh\*t but it doesn’t really work properly.  
I m trying to stack squares one over another,but when i try to put them on the top of each other, they vibrate, the one that is under the one i m holding with mouse, it’s vibrating, and all the “building” is vibrating,as i approach the square i m holding in the air with my mouse.

ps: when i deactivate the rotation (the Z axis ),it’s not bugging anymore.

my skype: tzigared (add me, i m desperate)  
my gmail: [almostdead911@gmail.com](mailto:almostdead911@gmail.com)

ps:in the image, it’s shown how i try to drag the square on the top of others, and the “building” vibrates and fall

 ![3167570--241210--f927c719-b0e1-4f91-82f2-b353561931c2.jpg](https://europe1.discourse-cdn.com/unity/original/3X/2/1/21946c613edb84f07bede04c83f00d9bef35d971.jpeg)

---

<div class="post-metadata">

### Author: ![AlmostDeadYT](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AlmostDeadYT](https://discussions.unity.com/u/AlmostDeadYT)
#### Post date: [August 1, 2017, 1:05pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/2 "2017-08-01T13:05:43Z")

</div>

update: there is a video in which i show you what its not working,because i don’t really know how to explain better

: h t t tp s… [ufile.io/1d6lk](http://ufile.io/1d6lk)

---

<div class="post-metadata">

### Author: ![BoogieD](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@BoogieD](https://discussions.unity.com/u/BoogieD)
#### Post date: [August 1, 2017, 2:49pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/3 "2017-08-01T14:49:47Z")

</div>

I suspect they are rigidBody cubes and their box colliders are causing a reaction to the cube you are controlling with the mouse.

---

<div class="post-metadata">

### Author: ![AlmostDeadYT](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AlmostDeadYT](https://discussions.unity.com/u/AlmostDeadYT)
#### Post date: [August 1, 2017, 4:35pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/4 "2017-08-01T16:35:29Z")

</div>

> [@BoogieD](#):
>
> I suspect they are rigidBody cubes and their box colliders are causing a reaction to the cube you are controlling with the mouse.

i think so, and i don’t know what to do to make it smooth and without that bug.

---

<div class="post-metadata">

### Author: ![BoogieD](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@BoogieD](https://discussions.unity.com/u/BoogieD)
#### Post date: [August 1, 2017, 5:49pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/5 "2017-08-01T17:49:49Z")

</div>

Try making the mass of the block you are moving to a low amount and the stacked blocks mass much higher so they don’t react as much.

---

<div class="post-metadata">

### Author: ![AlmostDeadYT](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AlmostDeadYT](https://discussions.unity.com/u/AlmostDeadYT)
#### Post date: [August 2, 2017, 12:10pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/6 "2017-08-02T12:10:43Z")

</div>

> [@BoogieD](#):
>
> Try making the mass of the block you are moving to a low amount and the stacked blocks mass much higher so they don’t react as much.

i don’t want to do that,since i want all the squares to be the same,i mean i can put 3-4, or even 6-7,it’s not that the x square needs to be different, they all need to be the same

---

<div class="post-metadata">

### Author: ![BoogieD](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@BoogieD](https://discussions.unity.com/u/BoogieD)
#### Post date: [August 2, 2017, 12:42pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/7 "2017-08-02T12:42:38Z")

</div>

Just make it the same mass once you have stacked it.

---

<div class="post-metadata">

### Author: ![AlmostDeadYT](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AlmostDeadYT](https://discussions.unity.com/u/AlmostDeadYT)
#### Post date: [August 2, 2017, 4:21pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/8 "2017-08-02T16:21:55Z")

</div>

> [@BoogieD](#):
>
> Just make it the same mass once you have stacked it.

they are all same mass from the beginning,and that’s how it shoud be

---

<div class="post-metadata">

### Author: ![BoogieD](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@BoogieD](https://discussions.unity.com/u/BoogieD)
#### Post date: [August 2, 2017, 5:52pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/9 "2017-08-02T17:52:29Z")

</div>

So it should not work then.

---

<div class="post-metadata">

### Author: ![AlmostDeadYT](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AlmostDeadYT](https://discussions.unity.com/u/AlmostDeadYT)
#### Post date: [August 2, 2017, 5:58pm UTC](https://discussions.unity.com/t/collision-gravity-problem/672829/10 "2017-08-02T17:58:39Z")

</div>

> [@BoogieD](#):
>
> So it should not work then.

why shouldn’t it work? you told me to change only 1 square’s mass,but i want all of the squares to have the same mass…because it will be only 1 type of square,not 2:)
