RavEngine
Loading...
Searching...
No Matches
physx::PxsCCDShape Struct Reference

Temporary CCD representation for a shape. More...

#include <PxsCCD.h>

Inheritance diagram for physx::PxsCCDShape:
[legend]
Collaboration diagram for physx::PxsCCDShape:
[legend]

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
 

Detailed Description

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.

Member Function Documentation

◆ getAbsPose()

PxTransform PxsCCDShape::getAbsPose ( const PxsRigidBody *  atom) const

Returns the world-space pose for this shape.

Parameters
[in]atomThe rigid body that this CCD shape is associated with

◆ getLastCCDAbsPose()

PxTransform PxsCCDShape::getLastCCDAbsPose ( const PxsRigidBody *  atom) const

Returns the world-space previous pose for this shape.

Parameters
[in]atomThe rigid body that this CCD shape is associated with

The documentation for this struct was generated from the following files: