Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_RadarSensor Class Reference

Radar 'cone' sensor. More...

#include <KX_RadarSensor.h>

Inheritance diagram for KX_RadarSensor:

KX_NearSensor KX_TouchSensor SCA_ISensor SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

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...


Detailed Description

Radar 'cone' sensor.

Very similar to a near-sensor, but instead of a sphere, a cone is used.

Definition at line 10 of file KX_RadarSensor.h.


Constructor & Destructor Documentation

KX_RadarSensor::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.

Creates a near-sensor derived class, with a cone collision shape.

Definition at line 7 of file KX_RadarSensor.cpp.

KX_RadarSensor::KX_RadarSensor ( )
 

KX_RadarSensor::~KX_RadarSensor ( ) [virtual]
 

Definition at line 39 of file KX_RadarSensor.cpp.


Member Function Documentation

void KX_RadarSensor::SynchronizeTransform ( ) [virtual]
 

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.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:43 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000