お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseRigidbodyオブジェクトの動きを制限させる際に使用します。
See Also: Rigidbody.constraints.
None | 制限なし。 |
FreezePositionX | X 軸の移動をさせない。 |
FreezePositionY | Y 軸の移動をさせない。 |
FreezePositionZ | Z 軸の移動をさせない。 |
FreezeRotationX | X 軸の回転をさせない。 |
FreezeRotationY | Y 軸の回転をさせない。 |
FreezeRotationZ | Z 軸の回転をさせない。 |
FreezePosition | 移動させない。 |
FreezeRotation | 回転させない。 |
FreezeAll | 移動も回転もさせない。 |