RavEngine
Loading...
Searching...
No Matches
physx::PxD6JointDrive Class Reference

parameters for configuring the drive model of a PxD6Joint More...

#include <PxD6Joint.h>

Inheritance diagram for physx::PxD6JointDrive:
[legend]
Collaboration diagram for physx::PxD6JointDrive:
[legend]

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 Member Functions inherited from physx::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
 
PxD6JointDriveFlags flags
 the joint drive flags
 
- Public Attributes inherited from physx::PxSpring
PxReal stiffness
 the spring strength of the drive: that is, the force proportional to the position error
 
PxReal damping
 the damping strength of the drive: that is, the force proportional to the velocity error
 

Detailed Description

parameters for configuring the drive model of a PxD6Joint

See also
PxD6Joint

Constructor & Destructor Documentation

◆ PxD6JointDrive()

physx::PxD6JointDrive::PxD6JointDrive ( PxReal  driveStiffness,
PxReal  driveDamping,
PxReal  driveForceLimit,
bool  isAcceleration = false 
)
inline

constructor a PxD6JointDrive.

Parameters
[in]driveStiffnessThe stiffness of the drive spring.
[in]driveDampingThe damping of the drive spring
[in]driveForceLimitThe maximum impulse or force that can be exerted by the drive
[in]isAccelerationWhether the drive is an acceleration drive or a force drive

The documentation for this class was generated from the following file: