Collision SensorΒΆ

../../../../_images/bge_sensor_collision.jpg

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

Note about soft bodies

The Collision sensor cannot detect collisions with soft bodies. This is a limitation in Bullet, the physics library used by the Game Engine.