#include <KX_RadarSensor.h>
Inheritance diagram for KX_RadarSensor:
Public Methods | |
KX_RadarSensor (class SCA_EventManager* eventmgr, class KX_GameObject* gameobj, double coneradius, double coneheight, int axis, double margin, double resetmargin, class SM_Object* sumoObj, bool bFindMaterial, const CCString& touchedpropname, PyTypeObject* T=&Type) | |
RadarSensor constructor. More... | |
KX_RadarSensor () | |
virtual | ~KX_RadarSensor () |
virtual void | SynchronizeTransform () |
Transforms the collision object. More... |
Very similar to a near-sensor, but instead of a sphere, a cone is used.
Definition at line 10 of file KX_RadarSensor.h.
|
RadarSensor constructor. Creates a near-sensor derived class, with a cone collision shape. Definition at line 7 of file KX_RadarSensor.cpp. |
|
|
|
Definition at line 39 of file KX_RadarSensor.cpp. |
|
Transforms the collision object. A cone is not correcly centered for usage. Reimplemented from KX_TouchSensor. Definition at line 48 of file KX_RadarSensor.cpp. |