mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Forces working, collision half way there.
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user