CategoryManager can take the pain out of managing 2D physics categories.
It uses named categories instead of numbers, and provides four core functions:
- putIn(categoryName, body)
- takeOutOf(categoryName, body)
- detect(categoryName, body)
- ignore(categoryName, body)
… with these commands, you can manage how bodies detect each other without having to think about category tables or mask tables at all