Parses the given body to get the bounds diff values from it.
They're stored in this class in the temporary properties boundsCenter
and centerDiff
.
This method is called automatically by all other methods in this class.
name | type | description |
---|---|---|
body | Phaser.Types.Physics.Matter.MatterBody |
The Body to get the bounds position from. |
true
if it was able to get the bounds, otherwise false
.