---
title: 约束组件
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/zh-cn/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components
latest_url: https://docs.unity.com/zh-cn/engine/7000.0/manual/working-with-gameobjects/unity-components/constraint-components.md
last_updated: 2026-09-14
generated_at: 2026-11-17T10:52:29.639Z
locale: zh-cn
---

# 约束组件

> 添加约束组件以相对于Other位置、Move和管理游戏对象对象。

约束组件允许您根据Scene中ONOther对象Control游戏对象对象的位置、Rotation和缩放。它们提供了一种不使用父子层级视图或编写自定义脚本来创建对象之间关系的方法。

约束对于角色骨骼绑定、Camera Control 和创建对象之间的关系非常有用。可以ON单一个游戏对象对象使用多个个约束，并在多个音频源对象之间进行混合以实现复杂行为。

| **主题**                                                                                                                                           | **描述**                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- |
| **[约束组件简介](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/constraints.md)**                               | 了解约束组件以及它们如何基ONOther对象Control游戏对象对象变换。 |
| **[Aim Constraint组件](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/class-aim-constraint.md)**            | 约束游戏对象以瞄准一个或多个 Target 对象。              |
| **[查看约束组件](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/class-look-at-constraint.md)**                  | Rotate 游戏对象以查看 Target Object。          |
| **[父约束组件](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/class-parent-constraint.md)**                    | Control游戏对象对象的变换，就好像它是一个或多个父对象的子项一样。   |
| **[位置约束组件](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/class-position-constraint.md)**                 | 约束游戏对象对象的位置以跟随一个或多音频源对象。               |
| **[Rotation Constraint 组件](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/class-rotation-constraint.md)** | 约束游戏对象对象的Rotation以Match一个或多音频源对象。      |
| **[Scale Constraint 组件](/engine/6000.0/manual/working-with-gameobjects/unity-components/constraint-components/class-scale-constraint.md)**       | 约束游戏对象对象的缩放以Match一个或多音频源对象。            |

## 其他资源##additional-resources

* [向游戏对象添加组件](/engine/6000.0/manual/working-with-gameobjects/unity-components.md)
* [管理组件及其值](/engine/6000.0/manual/working-with-gameobjects/unity-components/inspector-manage-components.md)
