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.

JavaScript
collider.staticFriction = 1;