time field adjustments

This commit is contained in:
landgreen
2019-10-17 05:26:45 -07:00
parent 963c930120
commit 5809a68360
6 changed files with 74 additions and 82 deletions

View File

@@ -989,7 +989,7 @@ const mobs = {
//large mobs or too many bodies go intangible and fall until removed from game to help performance
if (body[len].mass > 10 || 40 + 30 * Math.random() < body.length) {
body[len].collisionFilter.mask = 0x000000;
body[len].collisionFilter.mask = 0x001100;
}
body[len].classType = "body";
World.add(engine.world, body[len]); //add to world