mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-25 13:39:06 -05:00
fix gravity reset in demo
This commit is contained in:
parent
758bbe831f
commit
c00df81009
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
demo.engine.enableSleeping = false;
|
demo.engine.enableSleeping = false;
|
||||||
|
demo.engine.world.gravity.scale = 0.001;
|
||||||
demo.engine.world.gravity.y = 1;
|
demo.engine.world.gravity.y = 1;
|
||||||
demo.engine.world.gravity.x = 0;
|
demo.engine.world.gravity.x = 0;
|
||||||
demo.engine.timing.timeScale = 1;
|
demo.engine.timing.timeScale = 1;
|
||||||
|
|
Loading…
Reference in a new issue