Type Property


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


static let collisionBitMask: SCNPhysicsWorld.TestOption


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.