31 #ifndef PX_PHYSICS_NX_RIGIDDYNAMIC 32 #define PX_PHYSICS_NX_RIGIDDYNAMIC 54 eLOCK_LINEAR_X = (1 << 0),
55 eLOCK_LINEAR_Y = (1 << 1),
56 eLOCK_LINEAR_Z = (1 << 2),
57 eLOCK_ANGULAR_X = (1 << 3),
58 eLOCK_ANGULAR_Y = (1 << 4),
59 eLOCK_ANGULAR_Z = (1 << 5)
117 virtual void setKinematicTarget(
const PxTransform& destination) = 0;
127 virtual bool getKinematicTarget(
PxTransform& target)
const = 0;
168 virtual bool isSleeping()
const = 0;
182 virtual void setSleepThreshold(
PxReal threshold) = 0;
191 virtual PxReal getSleepThreshold()
const = 0;
206 virtual void setStabilizationThreshold(
PxReal threshold) = 0;
217 virtual PxReal getStabilizationThreshold()
const = 0;
269 virtual void setWakeCounter(
PxReal wakeCounterValue) = 0;
278 virtual PxReal getWakeCounter()
const = 0;
294 virtual void wakeUp() = 0;
310 virtual void putToSleep() = 0;
332 virtual void setSolverIterationCounts(
PxU32 minPositionIters,
PxU32 minVelocityIters = 1) = 0;
339 virtual void getSolverIterationCounts(
PxU32& minPositionIters,
PxU32& minVelocityIters)
const = 0;
360 virtual PxReal getContactReportThreshold()
const = 0;
371 virtual void setContactReportThreshold(
PxReal threshold) = 0;
Definition: GuContactBuffer.h:37
PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.
Definition: PxRigidDynamic.h:83
Collection of flags providing a mechanism to lock motion along/around a specific axis.
Definition: PxRigidDynamic.h:50
PxFlags< PxRigidDynamicLockFlag::Enum, PxU8 > PxRigidDynamicLockFlags
Definition: PxRigidDynamic.h:63
float PxReal
Definition: PxSimpleTypes.h:78
PX_INLINE PxRigidDynamic(PxBaseFlags baseFlags)
Definition: PxRigidDynamic.h:377
Enum
Definition: PxRigidDynamic.h:52
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxRigidDynamic.h:379
PxU16 PxType
Definition: PxBase.h:49
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
uint8_t PxU8
Definition: PxSimpleTypes.h:75
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition: PxRigidDynamic.h:373
Container for bitfield flag variables associated with a specific enum type.
Definition: PxFlags.h:73
PxRigidBody is a base class shared between dynamic rigid body objects.
Definition: PxRigidBody.h:195
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxRigidBody.h:730
uint32_t PxU32
Definition: Px.h:48
PX_INLINE PxRigidDynamic(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxRigidDynamic.h:376
#define PX_INLINE
Definition: PxPreprocessor.h:336
virtual ~PxRigidDynamic()
Definition: PxRigidDynamic.h:378