setDynamicFriction

fun setDynamicFriction(dynamicFriction: Float)

Sets the dynamic friction of a physics material.

Parameters

dynamicFriction

The dynamic friction for the physics material, which is clamped in range [0,∞). The default value is 0.6f.