photonstorm/phaser — pull request #445 by georgiee (2014-02-19 13:49:37+00:00)
Title: Do not invert (physics) shape size data for circle, rectangle, capsuel & line

Phaser.Physics.Body#px2p inverts and scales a number. The inverting is used to flip the position. When this method is used with dimensions, the dimensions will be flipped into a negative value. That's actually wrong.

Although it is working with rectangle shapes (even it makes no sense) it's causing wrong or no collisions with circles and maybe other shapes. I fixed all shapes with dimensions by flipping the value again (circle, rectangle, capsuel & line).