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

Structure to represent a body in the CCD system. More...

#include <PxsCCD.h>

Collaboration diagram for physx::PxsCCDBody:
[legend]

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
 

Detailed Description

Structure to represent a body in the CCD system.

Member Function Documentation

◆ addOverlap()

void physx::PxsCCDBody::addOverlap ( PxsCCDOverlap *  overlap)
inline

Registers an overlap with a given body.

Parameters
[in]overlapThe CCD overlap to register.

◆ getIndex()

PX_FORCE_INLINE PxU32 physx::PxsCCDBody::getIndex ( ) const
inline

Returns the CCD body's index.

Returns
The CCD body's index.

◆ overlaps()

bool physx::PxsCCDBody::overlaps ( PxsCCDBody *  body) const
inline

Tests whether this body has already registered an overlap with a given body.

Parameters
[in]bodyThe body to test against.
Returns
Whether this body has already registered an overlap with a given body.

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