calling adjust mass desyncs the debug graphics from the real positions of bodies

This commit is contained in:
Tom Larkworthy 2015-01-17 21:15:10 -08:00
parent 62b7fce9c8
commit 4b32505383

View file

@ -400,6 +400,7 @@ Phaser.Physics.P2.Body.prototype = {
adjustCenterOfMass: function () {
this.data.adjustCenterOfMass();
this.shapeChanged();
},