diff --git a/src/physics/Body.js b/src/physics/Body.js index d3295d5..cdc81a7 100644 --- a/src/physics/Body.js +++ b/src/physics/Body.js @@ -511,6 +511,10 @@ Phaser.Plugin.Isometric.Body.prototype = { if (this.collideWorldBounds) { this.checkWorldBounds(); } + + if (this.sprite.outOfBoundsKill && !this.game.physics.isoArcade.bounds.intersects(this.isoBounds)){ + this.sprite.kill(); + } } this._dx = this.deltaX();