KX_RadarSensor(KX_NearSensor)#

base class — KX_NearSensor

class KX_RadarSensor(KX_NearSensor)#

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

coneOrigin#

The origin of the cone with which to test. The origin is in the middle of the cone. (read-only).

Type:

list of floats [x, y, z]

coneTarget#

The center of the bottom face of the cone with which to test. (read-only).

Type:

list of floats [x, y, z]

distance#

The height of the cone with which to test.

Type:

float

angle#

The angle of the cone (in degrees) with which to test.

Type:

float

axis#

The axis on which the radar cone is cast. Can be one of these constants.

Type:

integer from 0 to 5