palContactSensor Class Reference
#include <palSensors.h>
List of all members.
Detailed Description
A Contact Sensor A contact sensor returns the location where a collision between the given body and any other object occurs.
The diagram indicates the contact position returned when two objects collide.
Member Function Documentation
virtual void palContactSensor::GetContactPosition |
( |
palVector3 & |
contact |
) |
[pure virtual] |
Gets the position where a collision occured.
- Parameters:
-
| contact | A vector representing the location where the collision last occured. |
void palContactSensor::Init |
( |
palBody * |
body |
) |
[virtual] |
Initializes the Contact sensor. Attaches a contact sensor to a given body.
- Parameters:
-
| body | The body which the sensor is attached to. |
The documentation for this class was generated from the following files:
- /var/www/hosted/adrianboeing.com/pal/current/pal/pal/pal/palSensors.h
- /var/www/hosted/adrianboeing.com/pal/current/pal/pal/pal/palSensors.cpp