기술 자료

Unity Engine

Unity Engine

PhysicsBody.BodyConstraints

Body constrains constrain the degrees of freedom a body when solving the simulation.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

[Flags]public enum PhysicsBody.BodyConstraints

Fields

Value

Description

AllConstrain rotation and motion along all axes.
NoneNo constraints
PositionConstrain motion along all axes.
PositionXConstrain motion along the X-axis.
PositionYConstrain motion along the Y-axis.
RotationConstrain rotation along the Z-axis.