See https://codepen.io/anon/pen/rvGVQa for a consistent repro.
Pretty sure in real world it would have stopped much sooner. How can we tweak it so that it's more realistic?
In this case, try increasing the body.slop e.g.
var boxProperty = {
friction: 0.7,
frictionStatic: 10,
restitution: 0.2,
slop: 0.2
};
Also, I'd say your static friction value is too high (the default is 0.5). Balancing all of these values though is always a bit of trial and error! Other things to try: increase the density of the lower down bodies, since placing heavy bodies on top of lighter ones can be unstable. In the complex cases, sometimes you need to also increase the engine iterations.
Thank you @liabru! That's very helpful
They don't actually stop moving if you add slop: 0.2 but keep moving very very slowly. After a minute or two the rectangles on the top fall down because they kept moving slowly to the right (without any reason).
Please re-open this issue.