75 PX_FORCE_INLINE PxReal getSleepThreshold()
const {
return mCore.sleepThreshold; }
76 PX_FORCE_INLINE void setSleepThreshold(
const PxReal v) { mCore.sleepThreshold = v; }
78 PX_FORCE_INLINE PxReal getFreezeThreshold()
const {
return mCore.freezeThreshold; }
79 PX_FORCE_INLINE void setFreezeThreshold(
const PxReal v) { mCore.freezeThreshold = v; }
81 PX_FORCE_INLINE PxU16 getSolverIterationCounts()
const {
return mCore.solverIterationCounts; }
82 PX_FORCE_INLINE void setSolverIterationCounts(PxU16 c) { mCore.solverIterationCounts = c; }
84 PX_FORCE_INLINE PxReal getWakeCounter()
const {
return mCore.wakeCounter; }
85 PX_FORCE_INLINE void setWakeCounterInternal(
const PxReal v) { mCore.wakeCounter = v; }
86 void setWakeCounter(
const PxReal v);
88 PX_FORCE_INLINE PxReal getMaxLinearVelocity()
const {
return mCore.maxLinearVelocity; }
89 void setMaxLinearVelocity(
const PxReal max);
91 PX_FORCE_INLINE PxReal getMaxAngularVelocity()
const {
return mCore.maxAngularVelocity; }
92 void setMaxAngularVelocity(
const PxReal max);
94 bool isSleeping()
const;
95 void wakeUp(PxReal wakeCounter);
104 PxU32 getDofs()
const;
108 PxU32 getCacheDataSize()
const;
116 void packJointData(
const PxReal* maximum, PxReal* reduced)
const;
118 void unpackJointData(
const PxReal* reduced, PxReal* maximum)
const;
120 void commonInit()
const;
141 PxU32 getCoefficientMatrixSize()
const;
145 PxU32 getGpuArticulationIndex()
const;
154 PX_ASSERT((sim==0) ^ (mSim == 0));
164 return *
reinterpret_cast<ArticulationCore*
>(
reinterpret_cast<PxU8*
>(&core) - offset);
169 void setGlobalPose();
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39