---
title: "init(pin0:pin1:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/physicsfixedjoint/init(pin0:pin1:)"
---

# init(pin0:pin1:)

Creates a new fixed joint.

## Declaration

```swift
init(pin0: GeometricPin, pin1: GeometricPin)
```

## Parameters

- `pin0`: The local position and orientation on the first entity.
- `pin1`: The local position and orientation on the second entity.
