Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraintsFreezeRotationYFreeze rotation along the Y-axis.Read time 1 minuteLast updated 9 days agoDefinition Type: Field Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule FreezeRotationY = 32