Skip to content

KX_RadarSensor

Base class: KX_NearSensor

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

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

Type: mathutils.Vector

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

Type: mathutils.Vector

The height of the cone with which to test.

Type: float

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

Type: float

The axis on which the radar cone is cast.

Type: integer from 0 to 5

KX_RADAR_AXIS_POS_X, KX_RADAR_AXIS_POS_Y, KX_RADAR_AXIS_POS_Z, KX_RADAR_AXIS_NEG_X, KX_RADAR_AXIS_NEG_Y, KX_RADAR_AXIS_NEG_Z