I agree with @ColaColin (photonstorm/phaser#2752) that the radius is handled inconsistently. In particular, body.center is placed by scaling body.radius (which looks correct) but collision checks and debug.body use an unscaled body.radius.
I think that body.radius and body.offset are supposed to refer to the (unscaled) texture size and the collision methods should use only the scaled radius (body.halfWidth).
I agree with @ColaColin (photonstorm/phaser#2752) that the radius is handled inconsistently. In particular,
body.center
is placed by scalingbody.radius
(which looks correct) but collision checks anddebug.body
use an unscaledbody.radius
.I think that
body.radius
andbody.offset
are supposed to refer to the (unscaled) texture size and the collision methods should use only the scaled radius (body.halfWidth
).