ドキュメント

Unity Engine

Unity Engine

PhysicsBody.BodyConstraints

Body constrains constrain the degrees of freedom a body when solving the simulation.
読み終わるまでの所要時間 1 分最終更新 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.