Enumeration RigidbodyConstraints
Enumeration members
FreezeAll
FreezeAll: = 63
FreezePosition
FreezePosition: = 7
FreezePositionX
FreezePositionX: = 1
FreezePositionY
FreezePositionY: = 2
FreezePositionZ
FreezePositionZ: = 4
FreezeRotation
FreezeRotation: = 56
FreezeRotationX
FreezeRotationX: = 8
FreezeRotationY
FreezeRotationY: = 16
FreezeRotationZ
FreezeRotationZ: = 32
None
None: = 0
对刚体(在某个轴上的)位移和旋转的限制。
Rigidbody.rotationConstraints Rigidbody.positionConstraints