Fixed some doc typos.

You can now pass a physicsConfig object with the game constructor that is given to p2.World, allowing you to set the broadphase, etc.
This commit is contained in:
photonstorm
2014-02-19 03:51:48 +00:00
parent d057a9fe11
commit 08e5f18257
7 changed files with 102 additions and 56 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ function create() {
// game.physics.setBoundsToWorld();
// game.physics.gravity.y = 9.78;
game.physics.setBoundsToWorld(true, true, false, true);
game.physics.setBoundsToWorld(true, true, false, true, false);
game.physics.world.gravity[1] = -20;
game.physics.friction = 0.5;