|
RavEngine
|
Temporary CCD representation for a shape. More...
#include <PxsCCD.h>
Public Member Functions | |
| PxTransform | getAbsPose (const PxsRigidBody *atom) const |
| Returns the world-space pose for this shape. | |
| PxTransform | getLastCCDAbsPose (const PxsRigidBody *atom) const |
| Returns the world-space previous pose for this shape. | |
Public Attributes | |
| const PxsShapeCore * | mShapeCore |
| const PxsRigidCore * | mRigidCore |
| PxNodeIndex | mNodeIndex |
Public Attributes inherited from physx::Gu::CCDShape | |
| const PxGeometry * | mGeometry |
| PxReal | mFastMovingThreshold |
| PxTransform | mPrevTransform |
| PxTransform | mCurrentTransform |
| PxVec3 | mExtents |
| PxVec3 | mCenter |
| PxU32 | mUpdateCount |
Temporary CCD representation for a shape.
Stores data about a shape that may be frequently used in CCD. It also stores update counters per-shape that can be compared with the body's update counter to determine if the shape needs its transforms re-calculated. This avoids us needing to store a list of shapes in a CCD body.
| PxTransform PxsCCDShape::getAbsPose | ( | const PxsRigidBody * | atom | ) | const |
Returns the world-space pose for this shape.
| [in] | atom | The rigid body that this CCD shape is associated with |
| PxTransform PxsCCDShape::getLastCCDAbsPose | ( | const PxsRigidBody * | atom | ) | const |
Returns the world-space previous pose for this shape.
| [in] | atom | The rigid body that this CCD shape is associated with |