Instance Property

contactDelegate

A delegate that is called when two physics bodies come in contact with each other.

Declaration

weak var contactDelegate: SCNPhysicsContactDelegate? { get set }

Discussion

A contact is created when two physics bodies overlap and one of the physics bodies has a collisionBitMask property that overlaps with the other body’s categoryBitMask property.

See Also

Detecting Contacts Between Physics Bodies