Module KX_RadarSensor :: Class KX_RadarSensor

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
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, getUseNegPulseMode, getUsePosPulseMode, isPositive, setFrequency, setInvert, setUseNegPulseMode, setUsePosPulseMode

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details

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]