BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.
[blender.git] / source / gameengine / PyDoc / KX_NearSensor.py
index fef2e4b2acc50f99fd85d828786f7c397d757eb6..a8c408827fef75bfc2b2083fb84032307d65ca12 100644 (file)
@@ -5,5 +5,10 @@ from KX_TouchSensor import *
 class KX_NearSensor(KX_TouchSensor):
        """
        A near sensor is a specialised form of touch sensor.
+       
+       @ivar distance: The near sensor activates when an object is within this distance.
+       @type distance: float
+       @ivar resetDistance: The near sensor deactivates when the object exceeds this distance.
+       @type resetDistance: float
        """