KX_NearSensor
Base class: KX_CollisionSensor
A near sensor is a specialised form of touch sensor.
distance
Section titled “distance”The near sensor activates when an object is within this distance.
Type: float
resetDistance
Section titled “resetDistance”The near sensor deactivates when the object exceeds this distance.
Type: float
