parameters for configuring the drive model of a PxD6Joint More...
#include <PxD6Joint.h>


Public Member Functions | |
| PxD6JointDrive () | |
| default constructor for PxD6JointDrive. More... | |
| PxD6JointDrive (PxReal driveStiffness, PxReal driveDamping, PxReal driveForceLimit, bool isAcceleration=false) | |
| constructor a PxD6JointDrive. More... | |
| bool | isValid () const |
| returns true if the drive is valid More... | |
Public Member Functions inherited from PxSpring | |
| PxSpring (PxReal stiffness_, PxReal damping_) | |
Public Attributes | |
| PxReal | forceLimit |
| the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES More... | |
| PxD6JointDriveFlags | flags |
| the joint drive flags More... | |
Public Attributes inherited from PxSpring | |
| PxReal | stiffness |
| the spring strength of the drive: that is, the force proportional to the position error More... | |
| PxReal | damping |
| the damping strength of the drive: that is, the force proportional to the velocity error More... | |
|
inline |
default constructor for PxD6JointDrive.
|
inline |
constructor a PxD6JointDrive.
| [in] | driveStiffness | the stiffness of the drive spring. |
| [in] | driveDamping | the damping of the drive spring |
| [in] | driveForceLimit | the maximum impulse or force that can be exerted by the drive |
| [in] | isAcceleration | whether the drive is an acceleration drive or a force drive |
|
inline |
returns true if the drive is valid
References damping, PxIsFinite(), and stiffness.
| PxD6JointDriveFlags PxD6JointDrive::flags |
the joint drive flags
| PxReal PxD6JointDrive::forceLimit |
the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES