I set a collision filter for my game, and while some of them are working, others are not. Here’s the chart:
The problem comes with the bullets. They *should* be colliding with the enemies, but they’re not. Any help? Did I do something wrong. Here’s the code where I call the filters:
[lua]
floorFilter = { categoryBits = 1, maskBits = 6 }
planeFilter = { categoryBits = 2, maskBits = 9 }
bulletFilter = { categoryBits = 4, maskBits = 10 }
enemyFilter = { categoryBits = 8, maskBits = 6 }
[/lua]