threejs-worldgen
    Preparing search index...

    Variable MPM_CONTACT_SKINConst

    MPM_CONTACT_SKIN: 1

    Particles closer than this many cells above the ground also get Coulomb friction (before they move; the normal velocity is kept, so they still settle onto the ground). The grid boundary alone acts on nodes inside the ground, which a resting particle's stencil only partly reaches, so bodies would creep down any slope whatever the friction.