PhysicsMaterial2D.friction
var friction: float;
float friction;
friction as float
Description

Coefficient of friction.

A value of zero indicates a surface with no friction while a value of 1 indicates maximum friction (eg, rubber).

See Also: PhysicMaterial.staticFriction.