Skip to content

Commit 3ab9da8

Browse files
committed
Test just Y for now
1 parent dea9a06 commit 3ab9da8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/physics/arcade/World.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,10 +1349,10 @@ var World = new Class({
13491349
resultY = SeparateY(body1, body2, overlapOnly, this.OVERLAP_BIAS);
13501350

13511351
// Are they still intersecting? Let's do the other axis then
1352-
if (this.intersects(body1, body2))
1353-
{
1354-
resultX = SeparateX(body1, body2, overlapOnly, this.OVERLAP_BIAS);
1355-
}
1352+
// if (this.intersects(body1, body2))
1353+
// {
1354+
// resultX = SeparateX(body1, body2, overlapOnly, this.OVERLAP_BIAS);
1355+
// }
13561356
}
13571357

13581358
var result = (resultX || resultY);

0 commit comments

Comments
 (0)