From 5c59bef62e05d175d93c1391c913e304466f68dd Mon Sep 17 00:00:00 2001 From: liabru Date: Wed, 15 Dec 2021 09:57:51 +0000 Subject: [PATCH] increase iterations on Example.stress3 --- examples/stress3.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/stress3.js b/examples/stress3.js index ea2f9b5..3def2e5 100644 --- a/examples/stress3.js +++ b/examples/stress3.js @@ -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({