#include <PxD6Joint.h>
Public Member Functions | |
PxD6JointDrive () | |
default constructor for PxD6JointDrive. | |
PxD6JointDrive (PxReal driveStiffness, PxReal driveDamping, PxReal driveForceLimit, bool isAcceleration=false) | |
constructor a PxD6JointDrive. | |
bool | isValid () const |
returns true if the drive is valid | |
Public Attributes | |
PxReal | forceLimit |
the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES | |
PxD6JointDriveFlags | flags |
the joint drive flags |
PxD6JointDrive::PxD6JointDrive | ( | ) | [inline] |
default constructor for PxD6JointDrive.
PxD6JointDrive::PxD6JointDrive | ( | PxReal | driveStiffness, | |
PxReal | driveDamping, | |||
PxReal | driveForceLimit, | |||
bool | isAcceleration = false | |||
) | [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 |
bool PxD6JointDrive::isValid | ( | ) | const [inline] |
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