For some reason, I am not able to get a touch or collision sensor into my python script using this line:
slopeSensor = cont.sensors["slope"]
The console shows that the sensor is not found. The sensor is currently parented to my rig. When I unparent the object, it works fine… not sure if there is something I don’t know about the touch and collision sensors? If I change the sensor type to for example “ray” it works fine…
blend file:
https://docs.google.com/file/d/0Bz170qNApm2AZVk4d0h4RnNuRFE/edit?usp=sharing