0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00
This commit is contained in:
liabru 2020-12-31 18:58:19 +00:00
parent 207c2f3ccb
commit 6ed74e17b5

View file

@ -34,7 +34,7 @@ Example.staticFriction = function() {
Runner.run(runner, engine); Runner.run(runner, engine);
// add bodies // add bodies
var body = Bodies.rectangle(400, 500, 200, 60, { isStatic: true, chamfer: 10, isStatic: true, chamfer: 10, render: { fillStyle: '#060a19' } }), var body = Bodies.rectangle(400, 500, 200, 60, { isStatic: true, chamfer: 10, render: { fillStyle: '#060a19' } }),
size = 50; size = 50;
var stack = Composites.stack(350, 470 - 6 * size, 1, 6, 0, 0, function(x, y) { var stack = Composites.stack(350, 470 - 6 * size, 1, 6, 0, 0, function(x, y) {