mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 00:49:41 +00:00
calling adjust mass desyncs the debug graphics from the real positions of bodies
This commit is contained in:
parent
62b7fce9c8
commit
4b32505383
1 changed files with 1 additions and 0 deletions
|
@ -400,6 +400,7 @@ Phaser.Physics.P2.Body.prototype = {
|
|||
adjustCenterOfMass: function () {
|
||||
|
||||
this.data.adjustCenterOfMass();
|
||||
this.shapeChanged();
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue