---
title: SKPhysicsContact
framework: spritekit
role: symbol
role_heading: Class
path: spritekit/skphysicscontact
---

# SKPhysicsContact

A description of the contact between two physics bodies.

## Declaration

```swift
class SKPhysicsContact
```

## Overview

Overview An SKPhysicsContact object is created automatically by SpriteKit to describe a contact between two physical bodies in a physics world.To receive contact messages, read the physicsWorld property of an SKScene object you are interested in, and assign its contactDelegate property to point to an object that implements the SKPhysicsContactDelegate protocol. Then, for each physics body in your scene, set the categoryBitMask and contactTestBitMask properties to define which interactions should generate contact messages.

## Topics

### Inspecting the Contact Properties

- [bodyA](spritekit/skphysicscontact/bodya.md)
- [bodyB](spritekit/skphysicscontact/bodyb.md)
- [contactPoint](spritekit/skphysicscontact/contactpoint.md)
- [collisionImpulse](spritekit/skphysicscontact/collisionimpulse.md)
- [contactNormal](spritekit/skphysicscontact/contactnormal.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Physics Simulation

- [Getting Started with Physics](spritekit/getting-started-with-physics.md)
- [SKPhysicsWorld](spritekit/skphysicsworld.md)
- [SKPhysicsBody](spritekit/skphysicsbody.md)
- [SKPhysicsContactDelegate](spritekit/skphysicscontactdelegate.md)
- [SKFieldNode](spritekit/skfieldnode.md)
