i couldn-t find anything about the exact how to use the
setTouchMaterial syntax for collisions.

any code example anyone_

thx lot

setTouchMaterial no longer exists, it was from an older version of Blender and was taken out for some reason, (I’m not sure why.) Also note that setProperty() on near, collision, and touch sensors has no effect at all.

The only (working) functions on these types of sensors are getHitObject(), getHitObjectList(), and getProperty()