Matter-js: How to make a rigid body that doesn't suffer compression?

Created on 23 Jun 2020  路  2Comments  路  Source: liabru/matter-js

My project requires that bodies don't get compressed so easily.

The Stress examples show bodies at the bottom of the stack being compressed quite significantly. The situation seems far worse for the circles that I'm using.

The Slop property seems to suggest it may be a solution, but changing it seems to have no effect.

duplicate question

Most helpful comment

i think this should answer your question: https://github.com/liabru/matter-js/issues/280

All 2 comments

i think this should answer your question: https://github.com/liabru/matter-js/issues/280

Thank you @Adamsmashem, increasing iterations would be my suggestion too, so closing this one.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kunchenguid picture kunchenguid  路  3Comments

maximilianberndt picture maximilianberndt  路  4Comments

drachehavoc picture drachehavoc  路  4Comments

ShadewEnder picture ShadewEnder  路  3Comments

BlueInt32 picture BlueInt32  路  4Comments