Box2DX.Common.Settings.MixFriction C# (CSharp) Method

MixFriction() public static method

Friction mixing law. Feel free to customize this.
public static MixFriction ( float friction1, float friction2 ) : float
friction1 float
friction2 float
return float
        public static float MixFriction(float friction1, float friction2)
        {
            return (float)System.Math.Sqrt(friction1 * friction2);
        }