#include <PxSolverDefs.h>
Public Member Functions | |
PX_ALIGN (16, Sc::ShapeInteraction *shapeInteraction) | |
Pointer to share interaction. Used for force threshold reports in solver. Set to NULL if using immediate mode. More... | |
Public Attributes | |
Gu::ContactPoint * | contacts |
The start of the contacts for this pair. More... | |
PxU32 | numContacts |
The total number of contacs this pair references. More... | |
bool | hasMaxImpulse |
Defines whether this pairs has maxImpulses clamping enabled. More... | |
bool | disableStrongFriction |
Defines whether this pair disables strong friction (sticky friction correlation) More... | |
bool | hasForceThresholds |
Defines whether this pair requires force thresholds. More... | |
PxReal | restDistance |
A distance at which the solver should aim to hold the bodies separated. Default is 0. More... | |
PxReal | maxCCDSeparation |
A distance used to configure speculative CCD behavior. Default is PX_MAX_F32. Set internally in PhysX for bodies with eENABLE_SPECULATIVE_CCD on. Do not set directly! More... | |
PxU8 * | frictionPtr |
InOut: Friction patch correlation data. Set each frame by solver. Can be retained for improved behaviour or discarded each frame. More... | |
PxU8 | frictionCount |
The total number of friction patches in this pair. More... | |
PxReal * | contactForces |
Out: A buffer for the solver to write applied contact forces to. More... | |
PxU32 | startFrictionPatchIndex |
Start index of friction patch in the correlation buffer. Set by friction correlation. More... | |
PxU32 | numFrictionPatches |
Total number of friction patches in this pair. Set by friction correlation. More... | |
PxU32 | startContactPatchIndex |
The start index of this pair's contact patches in the correlation buffer. For internal use only. More... | |
PxU16 | numContactPatches |
Total number of contact patches. More... | |
PxU16 | axisConstraintCount |
Axis constraint count. Defines how many constraint rows this pair has produced. Useful for statistical purposes. More... | |
PxU8 | pad [16 - sizeof(void *)] |
Public Attributes inherited from PxSolverConstraintPrepDescBase | |
PxConstraintInvMassScale | invMassScales |
In: The local mass scaling for this pair. More... | |
PxSolverConstraintDesc * | desc |
Output: The PxSolverConstraintDesc filled in by contact prep. More... | |
const PxSolverBody * | body0 |
In: The first body. Stores velocity information. Unused unless contact involves articulations. More... | |
const PxSolverBody * | body1 |
In: The second body. Stores velocity information. Unused unless contact involves articulations. More... | |
const PxSolverBodyData * | data0 |
In: The first PxSolverBodyData. Stores mass and miscellaneous information for the first body. More... | |
const PxSolverBodyData * | data1 |
In: The second PxSolverBodyData. Stores mass and miscellaneous information for the second body. More... | |
PxTransform | bodyFrame0 |
In: The world-space transform of the first body. More... | |
PxTransform | bodyFrame1 |
In: The world-space transform of the second body. More... | |
BodyState | bodyState0 |
In: Defines what kind of actor the first body is. More... | |
BodyState | bodyState1 |
In: Defines what kind of actor the second body is. More... | |
Additional Inherited Members | |
Public Types inherited from PxSolverConstraintPrepDescBase | |
enum | BodyState { eDYNAMIC_BODY = 1 << 0, eSTATIC_BODY = 1 << 1, eKINEMATIC_BODY = 1 << 2, eARTICULATION = 1 << 3 } |
PxSolverContactDesc::PX_ALIGN | ( | 16 | , |
Sc::ShapeInteraction * | shapeInteraction | ||
) |
Pointer to share interaction. Used for force threshold reports in solver. Set to NULL if using immediate mode.
PxU16 PxSolverContactDesc::axisConstraintCount |
Axis constraint count. Defines how many constraint rows this pair has produced. Useful for statistical purposes.
PxReal* PxSolverContactDesc::contactForces |
Out: A buffer for the solver to write applied contact forces to.
Gu::ContactPoint* PxSolverContactDesc::contacts |
The start of the contacts for this pair.
bool PxSolverContactDesc::disableStrongFriction |
Defines whether this pair disables strong friction (sticky friction correlation)
PxU8 PxSolverContactDesc::frictionCount |
The total number of friction patches in this pair.
PxU8* PxSolverContactDesc::frictionPtr |
InOut: Friction patch correlation data. Set each frame by solver. Can be retained for improved behaviour or discarded each frame.
bool PxSolverContactDesc::hasForceThresholds |
Defines whether this pair requires force thresholds.
bool PxSolverContactDesc::hasMaxImpulse |
Defines whether this pairs has maxImpulses clamping enabled.
PxReal PxSolverContactDesc::maxCCDSeparation |
A distance used to configure speculative CCD behavior. Default is PX_MAX_F32. Set internally in PhysX for bodies with eENABLE_SPECULATIVE_CCD on. Do not set directly!
PxU16 PxSolverContactDesc::numContactPatches |
Total number of contact patches.
PxU32 PxSolverContactDesc::numContacts |
The total number of contacs this pair references.
PxU32 PxSolverContactDesc::numFrictionPatches |
Total number of friction patches in this pair. Set by friction correlation.
PxU8 PxSolverContactDesc::pad[16 - sizeof(void *)] |
PxReal PxSolverContactDesc::restDistance |
A distance at which the solver should aim to hold the bodies separated. Default is 0.
PxU32 PxSolverContactDesc::startContactPatchIndex |
The start index of this pair's contact patches in the correlation buffer. For internal use only.
PxU32 PxSolverContactDesc::startFrictionPatchIndex |
Start index of friction patch in the correlation buffer. Set by friction correlation.