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

Inherited Properties

Inherited Functions