Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraintsFreezeRotationXFreeze rotation along the X-axis.Read time 1 minuteLast updated 4 days agoDefinition Type: Field Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule FreezeRotationX = 16