NearSensor(Sensor)

base classes — bpy_struct, Sensor

class bpy.types.NearSensor(Sensor)

Sensor to detect nearby objects

distance

Trigger distance

Type:float in [0, 10000], default 0.0
property

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

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

The distance where the sensor forgets the actor

Type:float in [0, 10000], default 0.0
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