getDynamicFriction

fun getDynamicFriction(): Float

Gets the dynamic friction of the physics material.

Return

The dynamic friction value.

Throws

IllegalStateException

If this resource is closed or invalid.