> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor/ks.reactor.ksrigidbodyconstraints.md).

# Enum ksRigidBodyConstraints

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

Use these flags to constrain motion of rigidbodies. [Constraints](/reactor/api-reference/ks.reactor/ks.reactor.ksirigidbody.md#KS_Reactor_ksIRigidBody_Constraints)

```csharp
[Flags]
public enum ksRigidBodyConstraints : byte
```

## Fields

`FREEZE_ALL = 126`

Freeze all translation and rotation.

`FREEZE_POSITION = 14`

Freeze all translations.

`FREEZE_POSITION_X = 2`

Freeze translations along the X axis.

`FREEZE_POSITION_Y = 4`

Freeze translations along the Y axis.

`FREEZE_POSITION_Z = 8`

Freeze translations along the Z axis.

`FREEZE_ROTATION = 112`

Freeze all rotations.

`FREEZE_ROTATION_X = 16`

Freeze rotations around the X axis.

`FREEZE_ROTATION_Y = 32`

Freeze rotations around the Y axis.

`FREEZE_ROTATION_Z = 64`

Freeze rotations around the Z axis.

`NONE = 0`

Do not freeze any translation or rotation.
