Terrain only collision

Hi,

I want to make a player controlled object which can walk on terrain, like FPS controller, but without affected from all other collision objects.

What is the best way to achive that terrain only collision?

I tried to make it with character controller, but I think collision ignoring is not possible for character controller :cry:

Have you tried using Physics.IgnoreCollision?

Is Physics.IgnoreCollision supported for character controller?
I remember I read the opposite somewhere on forum.

Anyway, what I actually needed was an object sticking to the terrain and sliding on it.
A vertical raycast with a layer mask for terrain did the job.