Mesh Rubble not Packing into Box in Kangaroo

Greetings!

I am trying to fit a bunch of simulated mesh rubble falling into a box using Grasshopper and Kangaroo but I noticed that the rubble is actually not fitting into the box. Rather, some of the rubble is outside of the bounds of the box partially, while others are completely outside. I find it strange because I have SolidCollide enabled as a Kangaroo goal between the box and the pieces of rubble, which, to my understanding, means that the rubble should not exit the box–yet it does in the simulation.

Perspective image of rubble before simulation with rubble, highlighted in red, within box, highlighted in green. The simulation is a typical gravity simulation with a point load.

Perspective image of rubble post simulation with rubble, highlighted in red, outside of box, highlighted in green.

Plan mage of rubble post simulation with rubble, highlighted in red, outside of box, highlighted in green. Notice that much of the rubble is outside the box.

PackingRubbleInsideBox.gh (36.6 KB)

If you could kindly let me know what I can do to make the rubble stay inside the box rather than scatter outside of it once it falls to the floor I would greatly appreciate it.

Many thanks in advance for your assistance and have a great day!

Any advice would be greatly appreciated!

CollisionsExample.gh (25.6 KB)

Becomes exponentially slower with more meshes though

1 Like