base class — SCA_ISensor
Touch sensor detects collisions between objects.
The property or material to collide with.
| Type: | string |
|---|
Determines if the sensor is looking for a property or material. KX_True = Find material; KX_False = Find property.
| Type: | boolean |
|---|
When enabled, changes to the set of colliding objects generate a pulse.
| Type: | boolean |
|---|
The last collided object. (read-only).
| Type: | KX_GameObject or None |
|---|
A list of colliding objects. (read-only).
| Type: | CListValue of KX_GameObject |
|---|
The material of the object in the face hit by the ray. (read-only).
| Type: | string |
|---|