Ray Sense Multiple Materials?

I have been attempting to sense multiple materials on a single object with no sucess. Is this possible? Multiple objects with individual materials works though.

Or I thought it was possible to use a gradient like alpha with some type of sensor to control camera movement velocity.

Think of a color wheel controlling a 3rd person camera using a cursor.

regards

honeycomb

The problem is that the GE only recognizes material #1 on each object.