mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Dump CI to window for testing
This commit is contained in:
parent
0f4e9f289d
commit
3e5358dded
1 changed files with 5 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue