CollisionSensor(Sensor)

base classes — bpy_struct, Sensor

class bpy.types.CollisionSensor(Sensor)

Sensor to detect objects colliding with the current object, with more settings than the Touch sensor

material

Only look for objects with this material (blank = all objects)

Type:string, default “”, (never None)
property

Only look for objects with this property (blank = all objects)

Type:string, default “”, (never None)
use_material

Toggle collision on material or property

Type:boolean, default False
use_pulse

Change to the set of colliding objects generates pulse

Type:boolean, default False

Inherited Properties

Inherited Functions