const b = new p2.Body({position:[x, y]});
b.addShape(new p2.Box({width: w, height: 1}));
この場合のBodyの衝突範囲は下記になる
{
left: x - w / 2,
top: y - h / 2,
right: x + w / 2,
bottom: y + h / 2
}
下記だと勘違いしていた
{
left: x,
top: y,
right: x + w,
bottom: y + h
}