---
title: SCNPhysicsContactDelegate
framework: scenekit
role: symbol
role_heading: Protocol
path: scenekit/scnphysicscontactdelegate
---

# SCNPhysicsContactDelegate

Methods you can implement to respond when a contact or collision occurs between two physics bodies in a scene.

## Declaration

```swift
protocol SCNPhysicsContactDelegate : NSObjectProtocol
```

## Overview

Overview To receive contact messages, you set the contactDelegate property of an SCNPhysicsWorld object. SceneKit calls your delegate methods when a contact begins, when information about the contact changes, and when the contact ends.

## Topics

### Responding to Contact Events

- [physicsWorld(_:didBegin:)](scenekit/scnphysicscontactdelegate/physicsworld(_:didbegin:).md)
- [physicsWorld(_:didUpdate:)](scenekit/scnphysicscontactdelegate/physicsworld(_:didupdate:).md)
- [physicsWorld(_:didEnd:)](scenekit/scnphysicscontactdelegate/physicsworld(_:didend:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Collision and Contact Detection

- [SCNPhysicsContact](scenekit/scnphysicscontact.md)
