用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:rigidbodyconstraints2d:rigidbodyconstraints2d

RigidbodyConstraints2D 刚体约束2D

Description 描述

Use these flags to constrain motion of the Rigidbody2D.

See Also: Rigidbody2D.constraints.

使用这些标识来约束刚体的移动。

参见:Rigidbody2D.constraints.

Variables 变量

NoneNo constraints.
没有限制
FreezePositionXFreeze motion along the X-axis.
冻结的运动沿x轴。
FreezePositionYFreeze motion along the Y-axis.
冻结的运动沿y轴。
FreezeRotationFreeze rotation along the Z-axis.
冻结转向沿z轴。
FreezePositionFreeze motion along the X-axis and Y-axis.
冻结的运动沿x轴和y轴。
FreezeAllFreeze rotation and motion along all axes.
冻结转向和运动的所有轴向。
script/unityengine/enumerations/rigidbodyconstraints2d/rigidbodyconstraints2d.txt · 最后更改: 2016/10/08 09:35 由 emjo