Classes | Typedefs | Functions | Variables
PxConstraintDesc.h File Reference
#include "PxPhysXConfig.h"
#include "foundation/PxFlags.h"
#include "foundation/PxMath.h"
#include "foundation/PxVec3.h"
#include "common/PxBase.h"
This graph shows which files directly or indirectly include this file:

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
 

Variable Documentation

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
PxU16 flags
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
PxReal velocityTarget

velocity target for the constraint along this axis

PxReal velocityThreshold

minimum impact velocity for bounce



Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com