mirror of
https://github.com/wassname/phaser.git
synced 2026-08-07 11:26:10 +08:00
Disabled World bounds by default.
Body.collides now takes a group level callback. Added Body.createBodyCallback and Body.createGroupCallback.
This commit is contained in:
@@ -903,11 +903,9 @@ Object.defineProperty(Phaser.Sprite.prototype, "exists", {
|
||||
{
|
||||
// exists = false
|
||||
this._cache[6] = 0;
|
||||
console.log('exists false');
|
||||
|
||||
if (this.body)
|
||||
{
|
||||
console.log('exists false remove from world');
|
||||
this.body.removeFromWorld();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user