TsolidObj Struct Reference

Detailed Description

Definition at line 78 of file cd.h.

Data Fields

unsigned int id
 
unsigned int linkID
 
unsigned int bodyID
 
DT_ShapeHandle shape
 
DT_ObjectHandle handler
 
DT_ResponseClass respClass
 
THTransform t
 
THTransform tc
 
boolean correction
 

Field Documentation

unsigned int TsolidObj::id

The identifier.

Definition at line 79 of file cd.h.

Referenced by InitSolidCD().

unsigned int TsolidObj::linkID

Identifier of the link for each part.

Definition at line 80 of file cd.h.

Referenced by CDCallBackInfo(), CheckCollisionSolid(), and InitSolidCD().

unsigned int TsolidObj::bodyID

Identifier of the body for each part. If NO_UINT the linkID refers to an obstacle.

Definition at line 81 of file cd.h.

Referenced by CDCallBackInfo(), and InitSolidCD().

DT_ShapeHandle TsolidObj::shape

One shape per object.

Definition at line 84 of file cd.h.

Referenced by DeleteSolidCD(), and InitSolidCD().

DT_ObjectHandle TsolidObj::handler

One handler per object.

Definition at line 85 of file cd.h.

Referenced by CheckCollisionSolid(), DeleteSolidCD(), and InitSolidCD().

DT_ResponseClass TsolidObj::respClass

One resp class per object.

Definition at line 86 of file cd.h.

Referenced by InitSolidCD().

THTransform TsolidObj::t

Last transform applied to this object (without the correction).

Definition at line 87 of file cd.h.

Referenced by CDCallBackInfo(), CheckCollisionSolid(), DeleteSolidCD(), and InitSolidCD().

THTransform TsolidObj::tc

Cache the transformation to align the geometry stored in the collision detector with the actual position.

Definition at line 89 of file cd.h.

Referenced by CheckCollisionSolid(), DeleteSolidCD(), and InitSolidCD().

boolean TsolidObj::correction

TRUE if t[i] is not the identity.

Definition at line 92 of file cd.h.

Referenced by CheckCollisionSolid(), and InitSolidCD().