Forces working, collision half way there.

This commit is contained in:
Richard Davey
2013-09-03 17:28:12 +01:00
parent 2fe8a3a0a7
commit a27f6d6562
5 changed files with 322 additions and 5 deletions
+1 -3
View File
@@ -24,6 +24,7 @@ Phaser.Physics.Arcade.Body = function (sprite) {
this.maxAngular = 1000;
this.mass = 1;
this.immovable = false;
this.touching = 0;
this.wasTouching = 0;
this.allowCollisions = 1;
@@ -54,9 +55,6 @@ Phaser.Physics.Arcade.Body.prototype = {
this.hitArea.centerX = x;
this.hitArea.centerY = y;
// this._ox = x;
// this._oy = y;
},
updateMotion: function () {