Search Unity

[Solved] Cubes do not fall

Discussion in 'Physics' started by 8Observer8, Oct 24, 2017.

  1. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    Hi,

    Why these cubes do not fall?
     

    Attached Files:

  2. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,508
    The center of mass of the top cubes seems to be exactly over the edge of the cube supporting them. So in an ideal situation there's no reason for them to fall.
     
    8Observer8 likes this.
  3. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    But in the real world the cubes will be fall. How to simulate that?
     
  4. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,508
    In the real world, if you could use an exquisite precision then the cubes wouldn't likely fall either. The cubes would be stable as long as their center of mass is exactly over the edge of the supporting cube. But real world includes imperfections in many levels and that situation is difficult to achieve in reality.

    A possible solution for making them fall is including a tiny gap between the cubes. This ensures the center of mass to be located beyond the edge of the supporting cube.
     
    Krish-Vikram and 8Observer8 like this.
  5. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    Thank you very much! I set a size of the cube prefab to 0.95 instead 1.
     
    Krish-Vikram and Edy like this.