diff --git a/src/Jitter2/Dynamics/RigidBody.cs b/src/Jitter2/Dynamics/RigidBody.cs index bde6e034..40abc972 100644 --- a/src/Jitter2/Dynamics/RigidBody.cs +++ b/src/Jitter2/Dynamics/RigidBody.cs @@ -159,27 +159,24 @@ internal void RaiseEndCollide(Arbiter arbiter) internal JMatrix inverseInertia = JMatrix.Identity; internal Real inverseMass = (Real)1.0; - /// - /// Gets or sets the friction coefficient for this object. - /// /// /// The friction coefficient determines the resistance to sliding motion. - /// Higher values create more friction, while lower values allow easier sliding. - /// A typical value ranges between 0 (no friction) and 1 (maximum friction). + /// Values typically range from 0 (no friction) upwards. + /// Higher values represent strong friction or adhesion effects. /// Default is 0.2. /// /// - /// Thrown if the value is not between 0 and 1. + /// Thrown if the value is negative. /// public Real Friction { get => friction; set { - if (value < (Real)0.0 || value > (Real)1.0) + if (value < (Real)0.0) { throw new ArgumentOutOfRangeException(nameof(value), - "Friction must be between 0 and 1."); + "Friction must be non-negative."); } friction = value;