Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraintsFreezeRotationZFreeze rotation along the Z-axis.Read time 1 minuteLast updated 11 days agoDefinition Type: Field Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule FreezeRotationZ = 64