Unity3D – Character Controller – Detect Collision

Determines whether other rigidbodies or character controllers collide with this character controller (by default this is always enabled).
This property is useful to disable the character controller temporarily. For example, you might want to mount a character into a car and disable collision detection until it exits the car again.

        var c : CharacterController;
	c = GetComponent(CharacterController);
	c.detectCollisions = false;