0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-15 16:38:43 -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; Bodies = Matter.Bodies;
// create engine // create engine
var engine = Engine.create(), var engine = Engine.create({
world = engine.world; positionIterations: 10,
velocityIterations: 10
});
var world = engine.world;
// create renderer // create renderer
var render = Render.create({ var render = Render.create({