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