Avoiding objects falling on top of another

Hello everyone!

I have boxes falling from tubes in a random time, but sometimes a box falls on top of another. I would like to prevent this. I already tried to do some predictions but I couldn’t make it work very well :confused:

I’ve been fighting with this for 2 weeks now and I can’t figure out how to solve this.

Thanks!!

Read up on Layer Based Collision Detection. You just need to adjust the layer mask, and apply proper layers to your objects.