RavEngine
Loading...
Searching...
No Matches
physx::Sc::ConstraintSim Class Reference
Inheritance diagram for physx::Sc::ConstraintSim:
[legend]
Collaboration diagram for physx::Sc::ConstraintSim:
[legend]

Public Types

enum  Enum { ePENDING_GROUP_UPDATE = (1<<0) , eBREAKABLE = (1<<1) , eCHECK_MAX_FORCE_EXCEEDED = (1<<2) , eBROKEN = (1<<3) }
 

Public Member Functions

 ConstraintSim (ConstraintCore &core, RigidCore *r0, RigidCore *r1, Scene &scene)
 
void setBodies (RigidCore *r0, RigidCore *r1)
 
void checkMaxForceExceeded ()
 
void setBreakForceLL (PxReal linear, PxReal angular)
 
PX_FORCE_INLINE void setMinResponseThresholdLL (PxReal threshold)
 
PX_FORCE_INLINE const void * getConstantsLL () const
 
void postFlagChange (PxConstraintFlags oldFlags, PxConstraintFlags newFlags)
 
PX_FORCE_INLINE const Dy::Constraint & getLowLevelConstraint () const
 
PX_FORCE_INLINE Dy::Constraint & getLowLevelConstraint ()
 
PX_FORCE_INLINE ConstraintCore & getCore () const
 
PX_FORCE_INLINE BodySim * getBody (PxU32 i) const
 
RigidSim & getRigid (PxU32 i)
 
void getForce (PxVec3 &force, PxVec3 &torque)
 
PX_FORCE_INLINE PxU8 readFlag (PxU8 flag) const
 
PX_FORCE_INLINE void setFlag (PxU8 flag)
 
PX_FORCE_INLINE void clearFlag (PxU8 flag)
 
PX_FORCE_INLINE PxU32 isBroken () const
 
PX_FORCE_INLINE const ConstraintInteraction * getInteraction () const
 
bool hasDynamicBody ()
 
void projectPose (BodySim *childBody, PxArray< BodySim * > &projectedBodies)
 
PX_FORCE_INLINE BodySim * getOtherBody (BodySim *b)
 
PX_FORCE_INLINE BodySim * getAnyBody ()
 
bool needsProjection ()
 
void visualize (PxRenderBuffer &out)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

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