Version: 2023.2
언어: 한국어

RigidbodyConstraints2D

enumeration

매뉴얼로 전환

설명

Use these flags to constrain motion of the Rigidbody2D.

Additional resources: Rigidbody2D.constraints.

변수

NoneNo constraints.
FreezePositionXFreeze motion along the X-axis.
FreezePositionYFreeze motion along the Y-axis.
FreezeRotationFreeze rotation along the Z-axis.
FreezePositionFreeze motion along the X-axis and Y-axis.
FreezeAllFreeze rotation and motion along all axes.