Enum BodyFreezeAxes2D
- Namespace
- Gravitas
- Assembly
- Gravitas.dll
Identifies the planar translational and yaw rotational degrees of freedom frozen on a pure 2D SolidBody2D.
[Flags]
public enum BodyFreezeAxes2D
Fields
All = Position | RotationFreezes planar translation and yaw rotation.
None = 0No planar position or yaw rotation axes are frozen.
Position = PositionX | PositionYFreezes both planar translation axes.
PositionX = 1Freezes the first planar coordinate, mapped to world-space X.
PositionY = 2Freezes the second planar coordinate, mapped to world-space Z.
Rotation = 4Freezes yaw rotation around the embedded world-space Y axis.