<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKPhysicsContact",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKPhysicsContact"
  },
  "title" : "SKPhysicsContact"
}
-->

# SKPhysicsContact

A description of the contact between two physics bodies.

```
class SKPhysicsContact
```

## Overview

An [`SKPhysicsContact`](/documentation/SpriteKit/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`](/documentation/SpriteKit/SKScene/physicsWorld) property of an [`SKScene`](/documentation/SpriteKit/SKScene) object you are interested in, and assign its [`contactDelegate`](/documentation/SpriteKit/SKPhysicsWorld/contactDelegate) property to point to an object that implements the [`SKPhysicsContactDelegate`](/documentation/SpriteKit/SKPhysicsContactDelegate) protocol. Then, for each physics body in your scene, set the [`categoryBitMask`](/documentation/SpriteKit/SKPhysicsBody/categoryBitMask) and [`contactTestBitMask`](/documentation/SpriteKit/SKPhysicsBody/contactTestBitMask) properties to define which interactions should generate contact messages.

## Topics

### Inspecting the Contact Properties

[`bodyA`](/documentation/SpriteKit/SKPhysicsContact/bodyA)

The first body in the contact.

[`bodyB`](/documentation/SpriteKit/SKPhysicsContact/bodyB)

The second body in the contact.

[`contactPoint`](/documentation/SpriteKit/SKPhysicsContact/contactPoint)

The contact point between the two physics bodies, in scene coordinates.

[`collisionImpulse`](/documentation/SpriteKit/SKPhysicsContact/collisionImpulse)

The impulse that specifies how hard these two bodies struck each other in Newton-seconds.

[`contactNormal`](/documentation/SpriteKit/SKPhysicsContact/contactNormal)

The normal vector specifying the direction of the collision.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)