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

提供: wiki
< Doc:2.6‎ | Manual‎ | Game Engine‎ | Logic‎ | Sensors
2014年3月19日 (水) 15:41時点におけるwiki>Samblerによる版 (Touch sensor)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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
Material
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.