|
RavEngine
|
Structure to represent a body in the CCD system. More...
#include <PxsCCD.h>
Public Member Functions | |
| PX_FORCE_INLINE PxU32 | getIndex () const |
| Returns the CCD body's index. | |
| bool | overlaps (PxsCCDBody *body) const |
| Tests whether this body has already registered an overlap with a given body. | |
| void | addOverlap (PxsCCDOverlap *overlap) |
| Registers an overlap with a given body. | |
Public Attributes | |
| Cm::SpatialVector | mPreSolverVelocity |
| PxU16 | mIndex |
| bool | mPassDone |
| bool | mHasAnyPassDone |
| PxReal | mTimeLeft |
| PxsRigidBody * | mBody |
| PxsCCDOverlap * | mOverlappingObjects |
| PxU32 | mUpdateCount |
| PxU32 | mNbInteractionsThisPass |
Structure to represent a body in the CCD system.
|
inline |
Registers an overlap with a given body.
| [in] | overlap | The CCD overlap to register. |
|
inline |
Returns the CCD body's index.
|
inline |
Tests whether this body has already registered an overlap with a given body.
| [in] | body | The body to test against. |