#include <CCollisionBasics.h>
Public Member Functions | |
void | clear () |
initialize all data | |
Public Attributes | |
cGenericObject * | m_object |
Pointer to the collided object. | |
cTriangle * | m_triangle |
Pointer to collided triangle. This pointer may be NULL for collisions with non triangle based objects. | |
cVector3d | m_localPos |
Position of the collision point in reference to the objects coordinate frame (local coordinates). | |
cVector3d | m_globalPos |
Position of the collision point in world coordinates (global coordinates). | |
cVector3d | m_localNormal |
Surface normal at collision point in reference to the objects coordinate frame (local coordinates). | |
cVector3d | m_globalNormal |
Surface normal at collision point in world coordinates (global coordinates). | |
double | m_squareDistance |
Square distance between ray origin and collision point. | |
cVector3d | m_adjustedSegmentAPoint |
If the position of segment A is modified to take into account motion (see m_adjustObjectMotion in cCollisionSettings), the value is stored hare.