Search code examples
physicsunity-game-enginecollision

Falling cubes without rigid bodies


I have a 5x6 group of cubes that are stacked on top of each other. When the cubes should be at rest they are jittering very slightly causing a bouncing effect. Some of these cubes will disappear, and the cubes above will fall into their place. I know I can turn on Is Kinematic, or freeze the X and Y, but this causes the surrounding columns of cubes to lean slightly when I toggle them on and off.

Is there a better way I can keep these cubes in their columns without them leaning and jittering?


Solution

  • Try the following:

    -See if you are using a physic material, "Metal" would be best for you.

    -Make the weight of the boxes more

    -Make sure that their collision boxes aren't overlapping, you can try to set the collision detection to continuous, although, be aware that this uses more processing power.

    Cheers!