Removed unused code

This commit is contained in:
Richard Davey 2019-03-27 15:52:04 +00:00
parent 7a05c205b1
commit 28b41254ba

View file

@ -112,44 +112,6 @@ var CheckOverlap = function (collisionInfo)
break;
}
/*
if (body1.isWorldBlockedLeft())
{
body2.setHardBlockedLeft();
}
else if (body2.isWorldBlockedLeft())
{
body1.setHardBlockedLeft();
}
if (body1.isWorldBlockedRight())
{
body2.setHardBlockedRight();
}
else if (body2.isWorldBlockedRight())
{
body1.setHardBlockedRight();
}
if (body1.isWorldBlockedUp())
{
body2.setHardBlockedUp();
}
else if (body2.isWorldBlockedUp())
{
body1.setHardBlockedUp();
}
if (body1.isWorldBlockedDown())
{
body2.setHardBlockedDown();
}
else if (body2.isWorldBlockedDown())
{
body1.setHardBlockedDown();
}
*/
return collisionInfo.touching;
};