Skip to content

Commit e733483

Browse files
committed
Abort? Then abort.
1 parent c907432 commit e733483

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/physics/arcade/GetOverlap.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ var GetOverlap = function (body1, body2, overlapOnly, bias)
2727

2828
var collisionInfo = CollisionInfo.get(body1, body2, overlapOnly, bias);
2929

30-
// console.log('');
31-
// console.log('%c GetOverlap ' + body1.world._frame + ' ', 'background-color: aqua');
32-
// collisionInfo.dump();
33-
30+
// DEBUG
3431
window.ci = collisionInfo;
3532

36-
if (overlapOnly || collisionInfo.embedded)
33+
if (overlapOnly || collisionInfo.abort)
3734
{
3835
return collisionInfo;
3936
}

0 commit comments

Comments
 (0)