GameObject.collider

var collider : Collider

Description

The Collider attached to this GameObject (Read Only). (null if there is none attached)

JavaScript
var other : GameObject; 
other.collider.material.dynamicFriction = 1;