PhysicMaterial.staticFriction Manual     Reference     Scripting  
Scripting > Runtime Classes > PhysicMaterial
PhysicMaterial.staticFriction

var staticFriction : float

Description

The friction used when an object is lying on a surface. Usually a value from 0 to 1.

A value of 0 feels like ice, 1 feels like rubber.

collider.staticFriction = 1;