mirror of
https://github.com/wassname/phaser.git
synced 2026-07-17 11:31:30 +08:00
separateX up and working sweet with gc spike removal too
This commit is contained in:
@@ -243,10 +243,10 @@ Phaser.Sprite.prototype.update = function() {
|
||||
}
|
||||
|
||||
// Update our physics bounds
|
||||
this.body.update(this.center.x, this.center.y, this._cache.scaleX, this._cache.scaleY);
|
||||
this.body.updateBounds(this.center.x, this.center.y, this._cache.scaleX, this._cache.scaleY);
|
||||
}
|
||||
|
||||
this.body.updateMotion();
|
||||
this.body.update();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user