Dump CI to window for testing

This commit is contained in:
Richard Davey 2019-03-31 23:16:27 +01:00
parent 0f4e9f289d
commit 3e5358dded

View file

@ -27,10 +27,11 @@ var GetOverlap = function (body1, body2, overlapOnly, bias)
var collisionInfo = CollisionInfo.get(body1, body2, overlapOnly, bias);
console.log('');
console.log('%c GetOverlap ' + body1.world._frame + ' ', 'background-color: aqua');
collisionInfo.dump();
debugger;
// console.log('');
// console.log('%c GetOverlap ' + body1.world._frame + ' ', 'background-color: aqua');
// collisionInfo.dump();
window.ci = collisionInfo;
if (overlapOnly || collisionInfo.embedded)
{