Table of Contents

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 | Rotation

Freezes planar translation and yaw rotation.

None = 0

No planar position or yaw rotation axes are frozen.

Position = PositionX | PositionY

Freezes both planar translation axes.

PositionX = 1

Freezes the first planar coordinate, mapped to world-space X.

PositionY = 2

Freezes the second planar coordinate, mapped to world-space Z.

Rotation = 4

Freezes yaw rotation around the embedded world-space Y axis.