using System; namespace MagicPhysX.Toolkit { /// /// Use these flags to constrain motion of Rigidbodies. /// public enum RigidbodyConstraints : int { /// /// No constraints. /// None = 0, /// /// Freeze motion along the X-axis. /// FreezePositionX = 2, /// /// Freeze motion along the Y-axis. /// FreezePositionY = 4, /// /// Freeze motion along the Z-axis. /// FreezePositionZ = 8, /// /// Freeze motion along all axes. /// FreezePosition = 14, /// /// Freeze rotation along the X-axis. /// FreezeRotationX = 16, /// /// Freeze rotation along the Y-axis. /// FreezeRotationY = 32, /// /// Freeze rotation along the Z-axis. /// FreezeRotationZ = 64, /// /// Freeze rotation along all axes. /// FreezeRotation = 112, /// /// Freeze rotation and motion along all axes. /// FreezeAll = 126, } }