0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-27 13:59:01 -05:00

increase iterations on Example.stress3

This commit is contained in:
liabru 2021-12-15 09:57:51 +00:00
parent b116f64225
commit 5c59bef62e

View file

@ -12,8 +12,12 @@ Example.stress3 = function() {
Bodies = Matter.Bodies;
// create engine
var engine = Engine.create(),
world = engine.world;
var engine = Engine.create({
positionIterations: 10,
velocityIterations: 10
});
var world = engine.world;
// create renderer
var render = Render.create({