<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhysicsJointsComponent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation22PhysicsJointsComponentV"
  },
  "title" : "PhysicsJointsComponent"
}
-->

# PhysicsJointsComponent

A component that stores physics joints which RealityKit simulates.

```
struct PhysicsJointsComponent
```

## Overview

Add this component to an entity, or any child of an entity, that has a [`PhysicsSimulationComponent`](/documentation/RealityKit/PhysicsSimulationComponent).
All joints in the `PhysicsJointsComponent` need to reference entities
under the same [`PhysicsSimulationComponent`](/documentation/RealityKit/PhysicsSimulationComponent) tree.

Add a joint to the correct `PhysicsJointsComponent` instance
by calling its `PhysicsJoint/addToSimulation()-886c4` method.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Component`](/documentation/RealityKit/Component)

---

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)