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

Public Member Functions

 BodyCore (const PxEMPTY)
 
void restoreDynamicData ()
 
 BodyCore (PxActorType::Enum type, const PxTransform &bodyPose)
 
PX_FORCE_INLINE const PxTransform & getBody2World () const
 
void setBody2World (const PxTransform &p)
 
PX_FORCE_INLINE const PxVec3 & getLinearVelocity () const
 
void setLinearVelocity (const PxVec3 &v, bool skipBodySimUpdate=false)
 
PX_FORCE_INLINE const PxVec3 & getAngularVelocity () const
 
void setAngularVelocity (const PxVec3 &v, bool skipBodySimUpdate=false)
 
PX_FORCE_INLINE PxReal getCfmScale () const
 
void setCfmScale (PxReal d)
 
PX_FORCE_INLINE void updateVelocities (const PxVec3 &linearVelModPerStep, const PxVec3 &angularVelModPerStep)
 
PX_FORCE_INLINE const PxTransform & getBody2Actor () const
 
void setBody2Actor (const PxTransform &p)
 
void addSpatialAcceleration (PxPool< SimStateData > *simStateDataPool, const PxVec3 *linAcc, const PxVec3 *angAcc)
 
void setSpatialAcceleration (PxPool< SimStateData > *simStateDataPool, const PxVec3 *linAcc, const PxVec3 *angAcc)
 
void clearSpatialAcceleration (bool force, bool torque)
 
void addSpatialVelocity (PxPool< SimStateData > *simStateDataPool, const PxVec3 *linVelDelta, const PxVec3 *angVelDelta)
 
void clearSpatialVelocity (bool force, bool torque)
 
PX_FORCE_INLINE PxReal getMaxPenetrationBias () const
 
PX_FORCE_INLINE void setMaxPenetrationBias (PxReal p)
 
PxReal getInverseMass () const
 
void setInverseMass (PxReal m)
 
const PxVec3 & getInverseInertia () const
 
void setInverseInertia (const PxVec3 &i)
 
PxReal getLinearDamping () const
 
void setLinearDamping (PxReal d)
 
PxReal getAngularDamping () const
 
void setAngularDamping (PxReal d)
 
PX_FORCE_INLINE PxRigidBodyFlags getFlags () const
 
void setFlags (PxPool< SimStateData > *simStateDataPool, PxRigidBodyFlags f)
 
PX_FORCE_INLINE PxRigidDynamicLockFlags getRigidDynamicLockFlags () const
 
PX_FORCE_INLINE void setRigidDynamicLockFlags (PxRigidDynamicLockFlags flags)
 
PX_FORCE_INLINE PxReal getSleepThreshold () const
 
void setSleepThreshold (PxReal t)
 
PX_FORCE_INLINE PxReal getFreezeThreshold () const
 
void setFreezeThreshold (PxReal t)
 
PX_FORCE_INLINE PxReal getMaxContactImpulse () const
 
void setMaxContactImpulse (PxReal m)
 
PX_FORCE_INLINE PxReal getOffsetSlop () const
 
void setOffsetSlop (PxReal slop)
 
PxNodeIndex getInternalIslandNodeIndex () const
 
PX_FORCE_INLINE PxReal getWakeCounter () const
 
void setWakeCounter (PxReal wakeCounter, bool forceWakeUp=false)
 
bool isSleeping () const
 
PX_FORCE_INLINE void wakeUp (PxReal wakeCounter)
 
void putToSleep ()
 
PxReal getMaxAngVelSq () const
 
void setMaxAngVelSq (PxReal v)
 
PxReal getMaxLinVelSq () const
 
void setMaxLinVelSq (PxReal v)
 
PX_FORCE_INLINE PxU16 getSolverIterationCounts () const
 
void setSolverIterationCounts (PxU16 c)
 
bool getKinematicTarget (PxTransform &p) const
 
bool getHasValidKinematicTarget () const
 
void setKinematicTarget (const PxTransform &p, PxReal wakeCounter)
 
void invalidateKinematicTarget ()
 
PX_FORCE_INLINE PxReal getContactReportThreshold () const
 
void setContactReportThreshold (PxReal t)
 
void onOriginShift (const PxVec3 &shift)
 
PX_FORCE_INLINE void setLinearVelocityInternal (const PxVec3 &v)
 
PX_FORCE_INLINE void setAngularVelocityInternal (const PxVec3 &v)
 
PX_FORCE_INLINE void setWakeCounterFromSim (PxReal c)
 
BodySim * getSim () const
 
PX_FORCE_INLINE PxsBodyCore & getCore ()
 
PX_FORCE_INLINE const PxsBodyCore & getCore () const
 
PX_FORCE_INLINE PxReal getCCDAdvanceCoefficient () const
 
PX_FORCE_INLINE void setCCDAdvanceCoefficient (PxReal c)
 
void onRemoveKinematicFromScene ()
 
PxIntBool isFrozen () const
 
void setKinematicLink (const bool value)
 
- Public Member Functions inherited from physx::Sc::RigidCore
PX_FORCE_INLINE PxActor * getPxActor () const
 
void addShapeToScene (ShapeCore &shape)
 
void removeShapeFromScene (ShapeCore &shape, bool wakeOnLostTouch)
 
void onShapeChange (ShapeCore &shape, ShapeChangeNotifyFlags notifyFlags)
 
void onShapeFlagsChange (ShapeCore &shape, PxShapeFlags oldShapeFlags)
 
void unregisterShapeFromNphase (ShapeCore &shapeCore)
 
void registerShapeInNphase (ShapeCore &shapeCore)
 
RigidSim * getSim () const
 
PxU32 getRigidID () const
 
- Public Member Functions inherited from physx::Sc::ActorCore
 ActorCore (const PxEMPTY)
 
 ActorCore (PxActorType::Enum actorType, PxU8 actorFlags, PxClientID owner, PxDominanceGroup dominanceGroup)
 
PX_FORCE_INLINE ActorSim * getSim () const
 
PX_FORCE_INLINE void setSim (ActorSim *sim)
 
PX_FORCE_INLINE PxActorFlags getActorFlags () const
 
void setActorFlags (PxActorFlags af)
 
PX_FORCE_INLINE PxDominanceGroup getDominanceGroup () const
 
void setDominanceGroup (PxDominanceGroup g)
 
PX_FORCE_INLINE void setOwnerClient (PxClientID inId)
 
PX_FORCE_INLINE PxClientID getOwnerClient () const
 
PX_FORCE_INLINE PxActorType::Enum getActorCoreType () const
 
void reinsertShapes ()
 
PX_FORCE_INLINE void setAggregateID (PxU32 id)
 
PX_FORCE_INLINE PxU32 getAggregateID () const
 
- 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)
 

Static Public Member Functions

static void getBinaryMetaData (PxOutputStream &stream)
 
static PX_FORCE_INLINE size_t getCoreOffset ()
 
static PX_FORCE_INLINE BodyCore & getCore (PxsBodyCore &core)
 
- Static Public Member Functions inherited from physx::Sc::RigidCore
static void getBinaryMetaData (PxOutputStream &stream)
 
- Static Public Member Functions inherited from physx::Sc::ActorCore
static void getBinaryMetaData (PxOutputStream &stream)
 

Additional Inherited Members

- Protected Member Functions inherited from physx::Sc::RigidCore
 RigidCore (const PxEMPTY)
 
 RigidCore (PxActorType::Enum type)
 

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