Doc:2.6/Manual/Game Engine/Logic/Sensors/Touch

提供: wiki
< Doc:2.6‎ | Manual‎ | Game Engine‎ | Logic‎ | Sensors
移動先: 案内検索

Touch sensor

Touch sensor

The Touch sensor sends a positive pulse when the object is in contact with another object.

See Sensor Common Options for common options.

Special Options
This field is for filtering materials. Only contact with the material in this field will generate a positive pulse. Leave blank for touch with any object.
A TRUE pulse is sent on collision and the FALSE pulse is sent once the objects are no longer in contact.
Touch sensor has been removed in 2.69
The Touch sensor is no longer available in v2.69 or later. The Collision Sensor now provides the same functionality.
Note about soft bodies
The Touch sensor can not detect collisions with soft bodies. This is a limitation in Bullet, the physics library used by the Game Engine.