mirror of
https://github.com/wassname/phaser.git
synced 2026-08-04 13:14:14 +08:00
PointProxy added to allow for easy setting of force and velocity. More p2 tests done. World update done.
This commit is contained in:
@@ -22,7 +22,7 @@ Phaser.Physics.World = function (game) {
|
||||
*/
|
||||
this.game = game;
|
||||
|
||||
p2.World.call(this);
|
||||
p2.World.call(this, { gravity: [0, 0] });
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user