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

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

Collision sensor

Collision sensor

A Collision sensor works like a Touch sensor but can also filter by property or material. Only objects with the property/material with that name will generate a positive pulse upon collision. Leave blank for collision with any object.

See Sensor Common Options for common options.

Special Options:

Pulse button
Makes it sensible to other collisions even if it is still in touch with the object that triggered the last positive pulse.
M/P button
Toggles between material and property filtering.
Note about soft bodies
The Collision sensor can not detect collisions with soft bodies. This is a limitation in Bullet, the physics library used by the Game Engine.