This commit is contained in:
Richard Davey 2021-09-22 11:02:52 +01:00
commit 698694828f
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ var ProcessTileSeparationX = function (body, x)
}
body.position.x -= x;
body.updateCenter();
if (body.bounce.x === 0)
{

View file

@ -27,6 +27,7 @@ var ProcessTileSeparationY = function (body, y)
}
body.position.y -= y;
body.updateCenter();
if (body.bounce.y === 0)
{