Hi, everyone!
I am doing a game that need to use the collision filtering. I checked the manual and it tells me that I can use the categoryBits and maskBits of a fixture to control filtering. However the manual doesn't explain them too much.
Can anyone tell me what do the categoryBits and maskBits mean? How should I use them correctly?
Thank you for any help
I am doing a game that need to use the collision filtering. I checked the manual and it tells me that I can use the categoryBits and maskBits of a fixture to control filtering. However the manual doesn't explain them too much.
Can anyone tell me what do the categoryBits and maskBits mean? How should I use them correctly?
Thank you for any help