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

#include <PxsContactManagerState.h>

Public Types

enum  Enum {
  eHAS_NO_TOUCH = (1 << 0) , eHAS_TOUCH = (1 << 1) , eREQUEST_CONSTRAINTS = (1 << 3) , eHAS_CCD_RETOUCH = (1 << 4) ,
  eDIRTY_MANAGER = (1 << 5) , eTOUCH_KNOWN = eHAS_NO_TOUCH | eHAS_TOUCH , eSTATIC_OR_KINEMATIC = (1 << 6)
}
 

Detailed Description

There is an implicit 1:1 mapping between PxgContactManagerInput and PxsContactManagerOutput. The structures are split because PxgNpContactManagerInput contains constant data that is produced by the CPU code and PxgNpContactManagerOutput contains per-frame contact information produced by the NP.

There is also a 1:1 mapping between the PxgNpContactManager and PxsContactManager. This mapping is handled within the PxgNPhaseCore.

The previous contact states are implicitly cached in PxsContactManager and will be propagated to the solver. Friction correlation is also done implicitly using cached information in PxsContactManager. The NP will produce a list of pairs that found/lost patches for the solver along with updating the PxgNpContactManagerOutput for all pairs.


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