setStaticFriction

fun setStaticFriction(staticFriction: Float)

Sets the static friction of a physics material.

Parameters

staticFriction

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