Contents

init(kineticFriction:staticFriction:)

Creates a friction override value with the given friction coefficients.

Declaration

init(kineticFriction: Float, staticFriction: Float)

Parameters

  • kineticFriction:

    The kinetic friction to use between the material pair.

  • staticFriction:

    The static friction to use between the material pair.