Skip to content

Commit

Permalink
fix gravity reset in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Sep 19, 2016
1 parent 758bbe8 commit c00df81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/js/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@
}

demo.engine.enableSleeping = false;
demo.engine.world.gravity.scale = 0.001;
demo.engine.world.gravity.y = 1;
demo.engine.world.gravity.x = 0;
demo.engine.timing.timeScale = 1;
Expand Down

0 comments on commit c00df81

Please sign in to comment.