Skip to content

KX_NearSensor

Base class: KX_CollisionSensor

A near sensor is a specialised form of touch sensor.

The near sensor activates when an object is within this distance.

Type: float

The near sensor deactivates when the object exceeds this distance.

Type: float