---
title: "init(rig:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/ikresource/init(rig:)"
---

# init(rig:)

Creates a new resource instance for a single solver using the given rig and an automatic solver identifier.

## Declaration

```swift
convenience init(rig: IKRig) throws
```

## Parameters

- `rig`: The inverse kinematics rig to be serialised into the resource.

## Discussion

Discussion note: Validation errors for the given rig structure.
