0
0
Fork 0
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:
liabru 2016-09-19 23:01:49 +01:00
parent 758bbe831f
commit c00df81009

View file

@ -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;