Unity Engine documentationScript ReferenceUnityEngineUnityEngine.LowLevelPhysics2DPhysicsBodyPhysicsBody.BodyConstraintsRotationConstrain rotation along the Z-axis.Read time 1 minuteLast updated 14 days agoDefinition Type: Field Namespace: UnityEngine.LowLevelPhysics2D Assembly: UnityEngine.Physics2DModule Rotation = 4