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) (default “”, never None)
- Type:
str
- property
Only look for objects with this property (blank = all objects) (default “”, never None)
- Type:
str
- use_material
Toggle collision on material or property (default False)
- Type:
bool
- use_pulse
Change to the set of colliding objects generates pulse (default False)
- Type:
bool
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type