Type Property

collisionBitMask

The key for selecting which categories of physics bodies that SceneKit should test for contacts.

Declaration

static let collisionBitMask: SCNPhysicsWorld.TestOption

Discussion

The value for this key is an NSNumber object containing an NSUInteger value. SceneKit tests for contacts only with physics bodies whose categoryBitMask property overlaps with this bit mask. The default value is all, specifying that searches should test all physics bodies regardless of their category.