Skip to content

Commit 66ad09e

Browse files
committed
Merge pull request phaserjs#1549 from tomlarkworthy/fixAdjustMass
Bug fix: adjust mass and debug body gfx
2 parents 0953e92 + 4b32505 commit 66ad09e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/physics/p2/Body.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ Phaser.Physics.P2.Body.prototype = {
400400
adjustCenterOfMass: function () {
401401

402402
this.data.adjustCenterOfMass();
403+
this.shapeChanged();
403404

404405
},
405406

0 commit comments

Comments
 (0)