diff --git a/core/src/com/me/brickbuster/entity/Ball.java b/core/src/com/me/brickbuster/entity/Ball.java index 4a89b6a..cc9d5e6 100644 --- a/core/src/com/me/brickbuster/entity/Ball.java +++ b/core/src/com/me/brickbuster/entity/Ball.java @@ -96,8 +96,7 @@ public class Ball extends Entity implements PhysicsBody, CollisionListener { ballFixture.filter.categoryBits = EntityType.BALL; ballFixture.filter.maskBits = EntityType.BOUNDARY | EntityType.BRICK - | EntityType.PADDLE | EntityType.POWER_UP - | EntityType.SHIELD; + | EntityType.PADDLE | EntityType.SHIELD; body = state.world.createBody(ballBody); body.createFixture(ballFixture); diff --git a/core/src/com/me/brickbuster/entity/powerup/PowerUp.java b/core/src/com/me/brickbuster/entity/powerup/PowerUp.java index 45f4c88..a23052b 100644 --- a/core/src/com/me/brickbuster/entity/powerup/PowerUp.java +++ b/core/src/com/me/brickbuster/entity/powerup/PowerUp.java @@ -75,7 +75,7 @@ public abstract class PowerUp extends Entity implements PhysicsBody, CollisionLi ballFixture.isSensor = true; ballFixture.filter.categoryBits = EntityType.POWER_UP; - ballFixture.filter.maskBits = EntityType.PADDLE | EntityType.BALL; + ballFixture.filter.maskBits = EntityType.PADDLE; body = state.world.createBody(ballBody); body.createFixture(ballFixture);