<!--
{
  "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/IKRig/Joint/LimitsDefinition",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation5IKRigV5JointV16LimitsDefinitionV"
  },
  "title" : "IKRig.Joint.LimitsDefinition"
}
-->

# IKRig.Joint.LimitsDefinition

A definition of joint rotation limits.

```
struct LimitsDefinition
```

## Overview

Limit angles are defined as relative to the rest pose.

> Important: The minimum angles need to be less than the maximum angles.

## Topics

### Initializers

[`init(weight: Float, boneAxis: IKRig.Joint.LimitsDefinition.Axis, minimumAngles: SIMD3<Float>, maximumAngles: SIMD3<Float>)`](/documentation/RealityKit/IKRig/Joint/LimitsDefinition/init(weight:boneAxis:minimumAngles:maximumAngles:))

Creates a joint limits definition.

### Instance Properties

[`var boneAxis: IKRig.Joint.LimitsDefinition.Axis`](/documentation/RealityKit/IKRig/Joint/LimitsDefinition/boneAxis)

The axis around which the bone twists.

[`var maximumAngles: SIMD3<Float>`](/documentation/RealityKit/IKRig/Joint/LimitsDefinition/maximumAngles)

The positive delta from the rest pose per-axis in radians.

[`var minimumAngles: SIMD3<Float>`](/documentation/RealityKit/IKRig/Joint/LimitsDefinition/minimumAngles)

The negative delta from the rest pose per-axis in radians.

[`var weight: Float`](/documentation/RealityKit/IKRig/Joint/LimitsDefinition/weight)

The weight of the joint rotation limit demand.

### Enumerations

[`enum Axis`](/documentation/RealityKit/IKRig/Joint/LimitsDefinition/Axis)

---

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)