84 void removeRigidFilter(
Sc::BodyCore* core, PxU32 vertId);
87 void removeRigidAttachment(
Sc::BodyCore* core, PxU32 handle);
89 void addTriRigidFilter(
Sc::BodyCore* core, PxU32 triIdx);
90 void removeTriRigidFilter(
Sc::BodyCore* core, PxU32 triIdx);
92 PxU32 addTriRigidAttachment(
Sc::BodyCore* core, PxU32 triIdx,
const PxVec4& barycentric,
94 void removeTriRigidAttachment(
Sc::BodyCore* core, PxU32 handle);
96 void addClothFilter(
Sc::FEMClothCore* otherCore, PxU32 otherTriIdx, PxU32 triIdx);
97 void removeClothFilter(
Sc::FEMClothCore* otherCore, PxU32 otherTriIdx0, PxU32 triIdx);
99 PxU32 addClothAttachment(
Sc::FEMClothCore* otherCore, PxU32 otherTriIdx,
const PxVec4& otherTriBarycentric, PxU32 triIdx,
100 const PxVec4& triBarycentric);
103 void setDrag(
const PxReal v) { mCore.drag = v; }
104 PxReal getDrag()
const {
return mCore.drag; }
106 void setLift(
const PxReal v) { mCore.lift = v; }
107 PxReal getLift()
const {
return mCore.lift; }
109 void setWind(
const PxVec3& wind) { mCore.wind = wind; }
110 PxVec3 getWind()
const {
return mCore.wind; }
112 void setAirDensity(
const float airDensity) { mCore.airDensity = airDensity; }
113 PxReal getAirDensity()
const {
return mCore.airDensity; }
115 void setBendingScales(
const PxReal*
const bendingScales, PxU32 nbElements);
116 const PxReal* getBendingScales()
const;
117 PxU32 getNbBendingScales()
const {
return mCore.mBendingScales.
size(); }
119 void setMaxVelocity(
const float maxVelocity) { mCore.maxVelocity = maxVelocity; }
120 PxReal getMaxVelocity()
const {
return mCore.maxVelocity; }
122 void setBendingActivationAngle(
const PxReal angle) { mCore.mBendingActivationAngle = angle; }
123 PxReal getBendingActivationAngle()
const {
return mCore.mBendingActivationAngle; }
125 void setNbCollisionPairUpdatesPerTimestep(
const PxU32 frequency) { mCore.NbCollisionPairUpdatesPerTimestep = frequency; }
126 PxU32 getNbCollisionPairUpdatesPerTimestep()
const {
return mCore.NbCollisionPairUpdatesPerTimestep; }
128 void setNbCollisionSubsteps(
const PxU32 frequency) { mCore.nbCollisionSubsteps = frequency; }
129 PxU32 getNbCollisionSubsteps()
const {
return mCore.nbCollisionSubsteps; }
131 PxU16 getSolverIterationCounts()
const {
return mCore.solverIterationCounts; }
132 void setSolverIterationCounts(PxU16 c);
135 void attachShapeCore(
ShapeCore* shapeCore);
137 PxReal getWakeCounter()
const;
138 void setWakeCounter(
const PxReal v);
139 void setWakeCounterInternal(
const PxReal v);
155 return *
reinterpret_cast<FEMClothCore*
>(
reinterpret_cast<PxU8*
>(&core) - offset);
162#if PX_ENABLE_FEATURES_UNDER_CONSTRUCTION
168 PxReal getRestVolumeScale()
const {
return mCore.mRestVolumeScale; }
170 void setRestVolumeScale(PxReal scale) { mCore.mRestVolumeScale = scale; }
Definition ScBodyCore.h:49
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39