Tool: CategoryManager… 2D collisions made *easy*

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

nice, named categories are much more useful

@skar thanks, you should try it out! It’s really simple and pretty powerful.