#include "PxPhysXConfig.h"#include "foundation/PxFlags.h"#include "foundation/PxMath.h"#include "foundation/PxVec3.h"#include "common/PxBase.h"
Go to the source code of this file.
| Classes | |
| struct | Px1DConstraintFlag | 
| constraint row flags  More... | |
| struct | PxConstraintSolveHint | 
| constraint type hints which the solver uses to optimize constraint handling  More... | |
| struct | Px1DConstraint | 
| A constraint.  More... | |
| struct | PxConstraintVisualizationFlag | 
| Flags for determining which components of the constraint should be visualized.  More... | |
| struct | PxConstraintInvMassScale | 
| class | PxConstraintVisualizer | 
| struct | PxPvdUpdateType | 
| class | PxConstraintConnector | 
| This class connects a custom constraint to the SDK.  More... | |
| Typedefs | |
| typedef PxFlags < Px1DConstraintFlag::Type, PxU16 > | Px1DConstraintFlags | 
| typedef PxU32(* | PxConstraintSolverPrep )(Px1DConstraint *constraints, PxVec3 &bodyAWorldOffset, PxU32 maxConstraints, PxConstraintInvMassScale &invMassScale, const void *constantBlock, const PxTransform &bodyAToWorld, const PxTransform &bodyBToWorld) | 
| typedef void(* | PxConstraintProject )(const void *constantBlock, PxTransform &bodyAToWorld, PxTransform &bodyBToWorld, bool projectToA) | 
| typedef void(* | PxConstraintVisualize )(PxConstraintVisualizer &visualizer, const void *constantBlock, const PxTransform &body0Transform, const PxTransform &body1Transform, PxU32 flags) | 
| Functions | |
| struct Px1DConstraint | PX_ALIGN_SUFFIX (16) | 
| Variables | |
| PxVec3 | linear0 | 
| linear component of velocity jacobian in world space  More... | |
| PxReal | geometricError | 
| geometric error of the constraint along this axis  More... | |
| PxVec3 | angular0 | 
| angular component of velocity jacobian in world space  More... | |
| PxReal | velocityTarget | 
| velocity target for the constraint along this axis  More... | |
| PxVec3 | linear1 | 
| linear component of velocity jacobian in world space  More... | |
| PxReal | minImpulse | 
| minimum impulse the solver may apply to enforce this constraint  More... | |
| PxVec3 | angular1 | 
| angular component of velocity jacobian in world space  More... | |
| PxReal | maxImpulse | 
| maximum impulse the solver may apply to enforce this constraint  More... | |
| union { | |
| struct SpringModifiers { | |
| PxReal stiffness | |
| spring parameter, for spring constraints  More... | |
| PxReal damping | |
| damping parameter, for spring constraints  More... | |
| } spring | |
| struct RestitutionModifiers { | |
| PxReal restitution | |
| restitution parameter for determining additional "bounce"  More... | |
| PxReal velocityThreshold | |
| minimum impact velocity for bounce  More... | |
| } bounce | |
| } | mods | 
| PxReal | forInternalUse | 
| PxU16 | flags | 
| a set of Px1DConstraintFlags  More... | |
| PxU16 | solveHint | 
| constraint optimization hint, should be an element of PxConstraintSolveHint  More... | |
| struct PxConstraintVisualizationFlag | PX_ALIGN_SUFFIX | 
| PxVec3 angular0 | 
angular component of velocity jacobian in world space
| PxVec3 angular1 | 
angular component of velocity jacobian in world space
| struct { ... } RestitutionModifiers bounce | 
| PxReal damping | 
damping parameter, for spring constraints
Referenced by PxJointLimitParameters::isSoft(), PxJointLimitParameters::isValid(), PxD6JointDrive::isValid(), PxJointAngularLimitPair::PxJointAngularLimitPair(), PxJointLimitCone::PxJointLimitCone(), PxJointLinearLimit::PxJointLinearLimit(), and PxJointLinearLimitPair::PxJointLinearLimitPair().
| PxU16 flags | 
a set of Px1DConstraintFlags
Referenced by PxContactPair::extractContacts(), PxClothMeshDesc::isValid(), PxSimpleTriangleMesh::isValid(), PxHeightFieldDesc::isValid(), and PxHeightFieldDesc::PxHeightFieldDesc().
| PxReal forInternalUse | 
| PxReal geometricError | 
geometric error of the constraint along this axis
| PxVec3 linear0 | 
linear component of velocity jacobian in world space
| PxVec3 linear1 | 
linear component of velocity jacobian in world space
| PxReal maxImpulse | 
maximum impulse the solver may apply to enforce this constraint
| PxReal minImpulse | 
minimum impulse the solver may apply to enforce this constraint
| union { ... } mods | 
| PxReal restitution | 
restitution parameter for determining additional "bounce"
Referenced by PxJointLimitParameters::isValid().
| PxU16 solveHint | 
constraint optimization hint, should be an element of PxConstraintSolveHint
| struct { ... } SpringModifiers spring | 
| PxReal stiffness | 
spring parameter, for spring constraints
Referenced by PxJointLimitParameters::isSoft(), PxJointLimitParameters::isValid(), PxD6JointDrive::isValid(), PxJointAngularLimitPair::PxJointAngularLimitPair(), PxJointLimitCone::PxJointLimitCone(), PxJointLinearLimit::PxJointLinearLimit(), and PxJointLinearLimitPair::PxJointLinearLimitPair().
| PxReal velocityTarget | 
velocity target for the constraint along this axis
| PxReal velocityThreshold | 
minimum impact velocity for bounce