Category: 2D Game Physics (Pro)
SetBodyFriction(body As Integer, friction As Double)
Void
Sets surface friction from 0 through 1.
The contact solver combines the friction values of both touching bodies. Values are clamped to the valid range.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
SetBodyFriction ground, 0.9