diff --git a/src/physics/arcade/ArcadePhysics.js b/src/physics/arcade/ArcadePhysics.js index 570b3b2e..c2178305 100644 --- a/src/physics/arcade/ArcadePhysics.js +++ b/src/physics/arcade/ArcadePhysics.js @@ -750,9 +750,12 @@ Phaser.Physics.Arcade.prototype = { * @returns {boolean} Returns true if the bodies were separated, otherwise false. */ separate: function (body1, body2) { - - this._result = (this.separateX(body1, body2) || this.separateY(body1, body2)); - + if(body1 !== body2) + { + this._result = (this.separateX(body1, body2) || this.separateY(body1, body2)); + } else { + this._result = false; + } }, /**