---
title: Core.PositionConstraintData
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:50:11.827Z
locale: en-us
---

# Core.PositionConstraintData

> Position constraint solver settings.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
public struct Core.PositionConstraintData
```

## Fields

| Value                                                                                                              | Description                                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Index](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/index.md)                     | The constrained bone index.                                                                                                                                                                                                |
| [LocalAxesMask](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/localaxesmask.md)     | Specifies the axes to which the constraint can apply translation.                                                                                                                                                          |
| [LocalOffset](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/localoffset.md)         | Specifies an additional local space translation offset to apply to the constrained bone, after it has been moved toward its target.                                                                                        |
| [SourceOffsets](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/sourceoffsets.md)     | The list of additional translation offsets to apply on the source positions.                                                                                                                                               |
| [SourcePositions](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/sourcepositions.md) | The list of source positions that influence the constrained bone's position. The constraint calculates translation toward each target to produce a weighted sum. The order of source positions does not affect the result. |
| [SourceWeights](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/sourceweights.md)     | The list of weights each source contributes to the final constrained pose.                                                                                                                                                 |

## Static Methods

| Method                                                                                             | Description                                                         |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [Default](/engine/7000.0/script-reference/unity/animations/core/positionconstraintdata/default.md) | Returns a set of default values for the position constraint solver. |
