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

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions