Module KX_RadarSensor :: Class KX_RadarSensor
[hide private]
[frames] | no frames]

Class KX_RadarSensor

source code

SCA_ILogicBrick.SCA_ILogicBrick --+            
                                  |            
            SCA_ISensor.SCA_ISensor --+        
                                      |        
          KX_TouchSensor.KX_TouchSensor --+    
                                          |    
                KX_NearSensor.KX_NearSensor --+
                                              |
                                             KX_RadarSensor

Radar sensor is a near sensor with a conical sensor object.

Instance Methods [hide private]
list [x, y, z]
getConeOrigin()
Returns the origin of the cone with which to test.
source code
list [x, y, z]
getConeTarget()
Returns the center of the bottom face of the cone with which to test.
source code
float
getConeHeight()
Returns the height of the cone with which to test.
source code

Inherited from KX_TouchSensor.KX_TouchSensor: getHitObject, getHitObjectList, getProperty, getTouchMaterial, setProperty, setTouchMaterial

Inherited from SCA_ISensor.SCA_ISensor: getFrequency, getInvert, getLevel, getUseNegPulseMode, getUsePosPulseMode, isPositive, isTriggered, reset, setFrequency, setInvert, setLevel, setUseNegPulseMode, setUsePosPulseMode

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details [hide private]

getConeOrigin()

source code 

Returns the origin of the cone with which to test. The origin is in the middle of the cone.

Returns: list [x, y, z]