Welcome to mirror list, hosted at ThFree Co, Russian Federation.

KX_NearSensor.py « PyDoc « gameengine « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8c408827fef75bfc2b2083fb84032307d65ca12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $Id$
# Documentation for KX_NearSensor
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
	"""