Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraintsFreezePositionZFreeze motion along the Z-axis. Limits motion to the XY plane only.Read time 1 minuteLast updated 12 days agoDefinition Type: Field Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule FreezePositionZ = 8