This commit is contained in:
2021-06-25 17:38:54 +03:00
parent e2a4e597d6
commit 0eca32f3c1
8 changed files with 95 additions and 22 deletions

View File

@@ -2,6 +2,9 @@
движок: null,
настройки: {
enableSleeping: true,
gravity: {
y: 2,
},
},
создать: function() {
мир.физика.движок = Matter.Engine.create(мир.физика.настройки);