2004-05-30 11:09:46 +00:00
|
|
|
# $Id$
|
2004-05-24 07:49:50 +00:00
|
|
|
# Documentation for KX_NearSensor
|
|
|
|
from KX_TouchSensor import *
|
|
|
|
|
|
|
|
class KX_NearSensor(KX_TouchSensor):
|
|
|
|
"""
|
|
|
|
A near sensor is a specialised form of touch sensor.
|
2009-02-28 21:00:27 +00:00
|
|
|
|
|
|
|
@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
|
2004-05-24 07:49:50 +00:00
|
|
|
"""
|
|
|
|
|