RigidbodyConstraints
The RigidbodyConstraints enumeration defines the constraints of a rigidbody, which can be used to restrict the movement of the rigidbody in the simulation.
| attributes | description |
|---|---|
| None | Applies no constraints to the rigidbody, allowing it to move and rotate freely. |
| FreezePositionX | Freezes the movement of the rigidbody along the X-axis, keeping it stationary on that axis. |
| FreezePositionY | Freezes the movement of the rigidbody along the Y-axis, keeping it stationary on that axis. |
| FreezePositionZ | Freezes the movement of the rigidbody along the Z-axis, keeping it stationary on that axis. |
| FreezePosition | Freezes the movement of the Rigidbody on all axes, keeping it stationary. |
| FreezeRotationX | Freezes the rotation around the X-axis of the rigidbody, keeping it stationary along that axis. |
| FreezeRotationY | Freezes the rotation around the Y-axis of the rigidbody, keeping it stationary along that axis. |
| FreezeRotationZ | Freezes the rotation around the Z-axis of the rigidbody, keeping it stationary along that axis. |
| FreezeRotation | Freezes all rotations of the rigidbody, keeping it stationary. |
| FreezeAll | Freezes the movement and rotation of the rigidbody on all axes, keeping it completely still. |
