SCNPhysicsCollisionCategory
Default values for a physics body’s Categorybitmask and Collisionbitmask properties.
Declaration
struct SCNPhysicsCollisionCategoryOverview
You specify contact and collision behaviors by defining your own categories for the kinds of bodies your app simulates and setting the categoryBitMask and collisionBitMask properties for each body to determine which kinds of bodies it collides with. Additionally, you can use the contactDelegate property of the physics world to be notified of collisions between bodies.
For more details and example usage, see Defining a Body’s Category and Collisions in the class overview.